1
0
Fork 0
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:
David Heinemeier Hansson 2005-02-19 16:41:39 +00:00
parent c56816e102
commit 83efffbcf6

View file

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