diff --git a/app/views/admin/index.html.erb b/app/views/admin/index.html.erb
index c744b2b..b47da79 100644
--- a/app/views/admin/index.html.erb
+++ b/app/views/admin/index.html.erb
@@ -23,7 +23,7 @@
Name |
Kew RGB 25cm |
Kew Samples |
- DEFRA Hedgerows |
+ DEFRA Hedgerow |
NATMAP |
@@ -44,8 +44,8 @@
class: "btn btn-sm btn-light" %>
- <%= button_to team.permission('defra_hedgerows') ? "✅" : "❌",
- toggle_permission_team_path(team, permission_key: 'defra_hedgerows'),
+ <%= button_to team.permission('defra_hedgerow') ? "✅" : "❌",
+ toggle_permission_team_path(team, permission_key: 'defra_hedgerow'),
method: :patch,
class: "btn btn-sm btn-light" %>
|