summaryrefslogtreecommitdiff
path: root/app/helpers/javascript_helper.rb
blob: d5e77c7e271e315c0d7cea4ce4b6994c5d2a32dc (plain)
1
2
3
4
5
6
7
8
9
10
module JavascriptHelper
  def page_specific_javascript_tag(js)
    javascript_include_tag asset_path(js)
  end

  # deprecated; use webpack_bundle_tag directly instead
  def page_specific_javascript_bundle_tag(bundle)
    webpack_bundle_tag(bundle)
  end
end