BigW Consortium Gitlab

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