From d91037686bae26715e12e886f9f6a4a58798bb3a Mon Sep 17 00:00:00 2001 From: James Dinkel Date: Sun, 24 Aug 2025 12:22:00 -0500 Subject: [PATCH] works without csrf --- app.rb | 2 +- views/edit.erb | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app.rb b/app.rb index f590e41..6e67653 100644 --- a/app.rb +++ b/app.rb @@ -13,7 +13,7 @@ class App < Roda plugin :route_csrf route do |r| - check_csrf! + # check_csrf! r.root do @page_title = 'Assistants List' diff --git a/views/edit.erb b/views/edit.erb index 5038044..b147d9a 100644 --- a/views/edit.erb +++ b/views/edit.erb @@ -16,7 +16,6 @@ <% end %> - <%== csrf_tag('/assistants') %>