mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix module support for controller generators #668 [Ulysses]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@691 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
c56816e102
commit
83efffbcf6
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ module Rails
|
|||
|
||||
# If the last Module exists, check whether the given
|
||||
# class exists and raise a collision if so.
|
||||
if last and last.const_defined?(name)
|
||||
if last and last.const_defined?(name.camelize)
|
||||
raise_class_collision(class_name)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue