Skip to content

Commit

Permalink
fix ambiguous * and remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Aug 24, 2011
1 parent 32836e7 commit 68424fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions railties/lib/rails/generators.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def self.configure!(config) #:nodoc:
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
Expand Down Expand Up @@ -313,7 +313,7 @@ def self.lookup! #:nodoc:
begin
path = path.sub("#{base}/", "")
require path
rescue Exception => e
rescue Exception
# No problem
end
end
Expand Down

0 comments on commit 68424fb

Please sign in to comment.