parenthesize the arguments with splat
to make sure we're not calling the :* operator
This commit is contained in:
parent
9aa10a79f9
commit
32b9cefb63
@ -522,9 +522,9 @@ def load_seed
|
||||
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 @@ def log(*args)
|
||||
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 New Issue
Block a user