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

8 lines
293 B
Ruby

module JavascriptHelper
def page_specific_javascript_tag(js)
javascript_include_tag asset_path(js), { "data-turbolinks-track" => true }
end
def page_specific_javascript_bundle_tag(js)
javascript_include_tag *webpack_asset_paths(js), { "data-turbolinks-track" => true }
end
end