app/views/authz/controller_actions/show.html.slim in authz-0.0.1.alpha3 vs app/views/authz/controller_actions/show.html.slim in authz-0.0.1.alpha4
- old
+ new
@@ -1,10 +1,13 @@
= content_for :nav_title do
= @controller_action.to_s
= content_for :nav_links do
.buttons
- = link_to 'Edit', edit_controller_action_path(@controller_action), class: 'button is-primary'
- = link_to 'Destroy', controller_action_path(@controller_action), method: :delete, class: 'button is-danger', data: { confirm: '¿Are you sure? This action is undoable' }
+ = authz_link_to 'Edit', edit_controller_action_path(@controller_action), {class: 'button is-primary'}, skip_scoping: true
+ = authz_link_to 'Destroy',
+ controller_action_path(@controller_action),
+ { method: :delete, class: 'button is-danger', data: { confirm: '¿Are you sure? This action is undoable' } },
+ skip_scoping: true
section.section
.columns
.column
- if @associated_business_processes.blank?