Module: Excursion::JavascriptHelper
- Defined in:
- app/helpers/excursion/javascript_helper.rb
Instance Method Summary collapse
Instance Method Details
#render_excursion_javascript_helpers ⇒ Object
3 4 5 |
# File 'app/helpers/excursion/javascript_helper.rb', line 3 def render_excursion_javascript_helpers content_tag :script, raw("Excursion.loadPool('#{raw Base64.encode64(Excursion::Pool.all_applications.values.map(&:to_cache).to_json.to_s).gsub("\n","")}');"), type: "text/javascript" end |