Module: SitemapsHelper

Defined in:
app/helpers/sitemaps_helper.rb

Instance Method Summary collapse

Instance Method Details

#authenticity_token_jsonObject



2
3
4
5
6
7
8
# File 'app/helpers/sitemaps_helper.rb', line 2

def authenticity_token_json
  unless protect_against_forgery?
    ''
  else
    %("#{request_forgery_protection_token.to_s}" : "#{form_authenticity_token}",\n)
  end
end