Skip to content

Commit

Permalink
Corriger un mauvais usage d'un helper d'URL (espace admin, lien Secte…
Browse files Browse the repository at this point in the history
…urs) (#4873)

Co-authored-by: Adrien Di Pasquale <[email protected]>
  • Loading branch information
francois-ferrandis and adipasquale authored Dec 9, 2024
1 parent 420d3b2 commit f9ff4c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/admin/territories/sectorizations/show.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.row.justify-content-center
- if Agent::SectorPolicy.allowed_to_manage_sectors_in?(current_territory, current_agent)
.col.col-md-4.p-2.rounded.settings-box
= link_to admin_territory_sectors_path(current_territory, current_agent) do
= link_to admin_territory_sectors_path(current_territory) do
h2.fw-bold.mb-0
i.fa.fa-table>
| Secteurs
Expand Down

0 comments on commit f9ff4c9

Please sign in to comment.