works without csrf
This commit is contained in:
parent
4503bc6343
commit
d91037686b
2
app.rb
2
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'
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
<% end %>
|
||||
|
||||
<!-- Add CSRF token tag -->
|
||||
<%== csrf_tag('/assistants') %>
|
||||
|
||||
<div class="field">
|
||||
<label class="label">Name</label>
|
||||
|
|
|
|||
Loading…
Reference in a new issue