BigW Consortium Gitlab

javascript_helper.rb 220 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
  def page_specific_javascript_bundle_tag(js)
6
    javascript_include_tag(*webpack_asset_paths(js))
7
  end
Connor Shea committed
8
end