Skip to content

Commit

Permalink
Bugfix #3351 Use namespacing in cancel_url
Browse files Browse the repository at this point in the history
  • Loading branch information
bricesanchez committed Apr 11, 2018
1 parent 032f7ac commit 0578405
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
continue_editing: false,
delete_title: t('delete', scope: 'refinery.<%= plural_name %>.admin.<%= plural_name %>.<%= singular_name %>'),
delete_confirmation: t('message', scope: 'refinery.admin.delete'<% if (title = attributes.detect { |a| a.type.to_s == "string" }).present? %>, title: @<%= singular_name %>.<%= title.name %><% end %>),
cancel_url: refinery.<%= plural_name %>_admin_<%= plural_name %>_path -%>
cancel_url: refinery.<%= namespacing.underscore %>_admin_<%= plural_name %>_path -%>
<%% end -%>
<% if text_areas.any? -%>

Expand Down

0 comments on commit 0578405

Please sign in to comment.