Method: Zhong::WebHelpers#csrf_tag
- Defined in:
- lib/zhong/web_helpers.rb
#csrf_tag ⇒ Object
39 40 41 |
# File 'lib/zhong/web_helpers.rb', line 39 def csrf_tag "<input type='hidden' name='authenticity_token' value='#{session[:csrf]}'/>" end |