Commit c7b55783 authored by Tugce Nur Tas's avatar Tugce Nur Tas
Browse files

fix volunteer group assignment partial edit link

parent 9865cc4f
Pipeline #16988 passed with stage
in 39 minutes and 32 seconds
......@@ -17,8 +17,8 @@ table.table.table-striped.group-assignments-table
= button_link navigation_glyph(:show), group_offer_path(group_assignment.group_offer),
title: 'Anzeigen'
- if editable
- if policy(group_assignment.group_offer).edit?
= button_link navigation_glyph(:edit), edit_group_offer_path(group_assignment.group_offer),
- if policy(group_assignment).edit?
= button_link navigation_glyph(:edit), edit_group_assignment_path(group_assignment),
title: 'Bearbeiten'
- if policy(group_assignment).show?
= button_link navigation_glyph(:download), group_assignment_path(group_assignment, format: :pdf),
......
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