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

11 lines
259 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
# deprecated; use webpack_bundle_tag directly instead
def page_specific_javascript_bundle_tag(bundle)
webpack_bundle_tag(bundle)
end
2016-05-31 20:34:30 -04:00
end