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

6 lines
152 B
Ruby
Raw Normal View History

module JavascriptHelper
2016-08-24 12:49:21 +05:30
def page_specific_javascript_tag(js)
javascript_include_tag asset_path(js), { "data-turbolinks-track" => true }
end
end