Module: Poirot::ViewHelper

Included in:
View
Defined in:
lib/poirot/view_helper.rb

Instance Method Summary collapse

Instance Method Details

#csrf_tokenObject



3
4
5
# File 'lib/poirot/view_helper.rb', line 3

def csrf_token
  tag(:input, :name => 'authenticity_token', :type => 'hidden', :value => form_authenticity_token)
end