From 73265a596256e373b5fcf0273f87baf59852185b Mon Sep 17 00:00:00 2001 From: Paul Crossley Date: Fri, 22 Nov 2024 11:39:11 +0000 Subject: [PATCH] typo on admin panel --- app/views/admin/index.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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" %>