diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-10-08 00:54:26 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-10-08 00:54:26 +0000 |
commit | e7b80cbbbc4279b9408660b9bbb1ecb9807a8497 (patch) | |
tree | c5c7175257e3c669fb744e7244b973ff1948a4ad | |
parent | 00d9f58f29ad2bd072276f6b3d63ed9df71bdcad (diff) | |
download | rails-e7b80cbbbc4279b9408660b9bbb1ecb9807a8497.tar.gz rails-e7b80cbbbc4279b9408660b9bbb1ecb9807a8497.tar.bz2 rails-e7b80cbbbc4279b9408660b9bbb1ecb9807a8497.zip |
Create layout dir it's nested. References #9272 [alancfrancis]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7784 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r-- | railties/lib/rails_generator/generators/components/scaffold/scaffold_generator.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails_generator/generators/components/scaffold/scaffold_generator.rb b/railties/lib/rails_generator/generators/components/scaffold/scaffold_generator.rb index b26300e024..6f154fe52d 100644 --- a/railties/lib/rails_generator/generators/components/scaffold/scaffold_generator.rb +++ b/railties/lib/rails_generator/generators/components/scaffold/scaffold_generator.rb @@ -39,6 +39,7 @@ class ScaffoldGenerator < Rails::Generator::NamedBase m.directory(File.join('app/controllers', controller_class_path)) m.directory(File.join('app/helpers', controller_class_path)) m.directory(File.join('app/views', controller_class_path, controller_file_name)) + m.directory(File.join('app/views/layouts', controller_class_path)) m.directory(File.join('test/functional', controller_class_path)) m.directory(File.join('test/unit', class_path)) |