fix rubocop complaint about ambiguous splat operator
This commit is contained in:
parent
a2c1f2e0ea
commit
11e9f32d1b
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue