gitlab-org--gitlab-foss/app/helpers/javascript_helper.rb

10 lines
221 B
Ruby
Raw Normal View History

module JavascriptHelper
def page_specific_javascript_tag(js)
2017-01-13 16:54:16 -05:00
javascript_include_tag asset_path(js)
2016-05-31 20:34:30 -04:00
end
2017-02-22 12:27:21 -05:00
def page_specific_javascript_bundle_tag(js)
javascript_include_tag(*webpack_asset_paths(js))
end
2016-05-31 20:34:30 -04:00
end