2016-04-07 7 views

Antwort

2

Man könnte es eine teilweise machen:

#_csrf.html.slim 
input name="authenticity_token" type="hidden"value='=form_authenticity_token' 
input name="profilePage" type="hidden" value='#{params[:action]}' 

Und dann in jeder Form machen es:

= render 'csrf' 
Verwandte Themen