fix ambiguous * and remove unused variable
This commit is contained in:
parent
32836e7a53
commit
68424fb1cf
|
@ -77,7 +77,7 @@ module Rails
|
|||
fallbacks.merge! config.fallbacks
|
||||
templates_path.concat config.templates
|
||||
templates_path.uniq!
|
||||
hide_namespaces *config.hidden_namespaces
|
||||
hide_namespaces(*config.hidden_namespaces)
|
||||
end
|
||||
|
||||
def self.templates_path
|
||||
|
@ -313,7 +313,7 @@ module Rails
|
|||
begin
|
||||
path = path.sub("#{base}/", "")
|
||||
require path
|
||||
rescue Exception => e
|
||||
rescue Exception
|
||||
# No problem
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue