Commit 5217843b authored by Zsolt Benke's avatar Zsolt Benke

Update conditionals

parent 34407900
Pipeline #19421 passed with stage
in 35 minutes and 30 seconds
......@@ -17,7 +17,6 @@ table.table.table-striped.assignments-table
tbody
= render assignments
- if controller_name == 'volunteers'
- if controller_in?(:volunteers) && policy(Assignment).find_client?
ul.list-inline
- if policy(Assignment).find_client?
li= button_link 'Zusätzliche/n Klient/in suchen', find_client_volunteer_path(id: @volunteer)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment