BigW Consortium Gitlab

javascript_helper.rb 259 Bytes
Newer Older
1
module JavascriptHelper
2
  def page_specific_javascript_tag(js)
Bryce Johnson committed
3
    javascript_include_tag asset_path(js)
Connor Shea committed
4
  end
5

6 7 8
  # deprecated; use webpack_bundle_tag directly instead
  def page_specific_javascript_bundle_tag(bundle)
    webpack_bundle_tag(bundle)
9
  end
Connor Shea committed
10
end