gitlab-org--gitlab-foss/app/helpers/javascript_helper.rb
2017-02-23 09:32:22 -06:00

9 lines
221 B
Ruby

module JavascriptHelper
def page_specific_javascript_tag(js)
javascript_include_tag asset_path(js)
end
def page_specific_javascript_bundle_tag(js)
javascript_include_tag(*webpack_asset_paths(js))
end
end