debian-mirror-gitlab/app/helpers/javascript_helper.rb

11 lines
259 B
Ruby
Raw Normal View History

module JavascriptHelper
2016-08-24 12:49:21 +05:30
def page_specific_javascript_tag(js)
2017-08-17 22:00:37 +05:30
javascript_include_tag asset_path(js)
end
# deprecated; use webpack_bundle_tag directly instead
def page_specific_javascript_bundle_tag(bundle)
webpack_bundle_tag(bundle)
end
end