diff --git a/plugins/custom_forms/views/custom_forms_plugin_profile/show.html.erb b/plugins/custom_forms/views/custom_forms_plugin_profile/show.html.erb index fb180ec..8c60403 100644 --- a/plugins/custom_forms/views/custom_forms_plugin_profile/show.html.erb +++ b/plugins/custom_forms/views/custom_forms_plugin_profile/show.html.erb @@ -13,7 +13,7 @@ <%= render :partial => 'shared/form_submission', :locals => {:f => f} %> <% button_bar do %> - <%= submit_button :save, _('Save'), :cancel => {:action => 'index'} %> + <%= submit_button :save, _('Save'), :cancel => {:controller=>:profile, :profile => profile.identifier} %> <% end %> <% end %> <% else %> -- libgit2 0.21.2