fix ambiguous * and remove unused variable

This commit is contained in:
Aaron Patterson 2011-08-24 16:52:23 -07:00
parent 32836e7a53
commit 68424fb1cf
1 changed files with 2 additions and 2 deletions

View File

@ -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