Module: Rad::JsHelper

Defined in:
lib/js/js_helper.rb

Instance Method Summary collapse

Instance Method Details

#initialize_js_commonsObject



2
3
4
5
# File 'lib/js/js_helper.rb', line 2

def initialize_js_commons
  javascript_tag %{\
window.AUTHENTICITY_TOKEN = "#{authenticity_token}";}
end