mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
fix ambiguous * and remove unused variable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user