Commit 11e9f32d authored by Mike Greiling's avatar Mike Greiling

fix rubocop complaint about ambiguous splat operator

parent a2c1f2e0
......@@ -3,6 +3,6 @@ module JavascriptHelper
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 }
javascript_include_tag(*webpack_asset_paths(js), { "data-turbolinks-track" => true })
end
end
......@@ -28,7 +28,7 @@
= stylesheet_link_tag "application", media: "all"
= stylesheet_link_tag "print", media: "print"
= javascript_include_tag *webpack_asset_paths("application")
= javascript_include_tag(*webpack_asset_paths("application"))
- if content_for?(:page_specific_javascripts)
= yield :page_specific_javascripts
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment