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
|
plugin :route_csrf
|
||||||
|
|
||||||
route do |r|
|
route do |r|
|
||||||
check_csrf!
|
# check_csrf!
|
||||||
|
|
||||||
r.root do
|
r.root do
|
||||||
@page_title = 'Assistants List'
|
@page_title = 'Assistants List'
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,6 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<!-- Add CSRF token tag -->
|
<!-- Add CSRF token tag -->
|
||||||
<%== csrf_tag('/assistants') %>
|
|
||||||
|
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label class="label">Name</label>
|
<label class="label">Name</label>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue