mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
parenthesize the arguments with splat
to make sure we're not calling the :* operator
This commit is contained in:
parent
9aa10a79f9
commit
32b9cefb63
2 changed files with 4 additions and 4 deletions
|
@ -522,9 +522,9 @@ module Rails
|
|||
end
|
||||
|
||||
initializer :append_assets_path do |app|
|
||||
app.config.assets.paths.unshift *paths["vendor/assets"].existent
|
||||
app.config.assets.paths.unshift *paths["lib/assets"].existent
|
||||
app.config.assets.paths.unshift *paths["app/assets"].existent
|
||||
app.config.assets.paths.unshift(*paths["vendor/assets"].existent)
|
||||
app.config.assets.paths.unshift(*paths["lib/assets"].existent)
|
||||
app.config.assets.paths.unshift(*paths["app/assets"].existent)
|
||||
end
|
||||
|
||||
initializer :prepend_helpers_path do |app|
|
||||
|
|
|
@ -278,7 +278,7 @@ module Rails
|
|||
say args.first.to_s unless options.quiet?
|
||||
else
|
||||
args << (self.behavior == :invoke ? :green : :red)
|
||||
say_status *args
|
||||
say_status(*args)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue