diff options
author | José Valim <jose.valim@gmail.com> | 2010-04-06 00:12:28 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-04-06 00:18:35 +0200 |
commit | ea2c5fa8046e2f953b366adc94f0610ccfea0828 (patch) | |
tree | b767cb29756b0cbb701749643d8d547d5c687271 /railties/lib/rails/generators/erb/scaffold/scaffold_generator.rb | |
parent | 4eab983b955fe17cf02c6fe96cab1c8a309cd606 (diff) | |
download | rails-ea2c5fa8046e2f953b366adc94f0610ccfea0828.tar.gz rails-ea2c5fa8046e2f953b366adc94f0610ccfea0828.tar.bz2 rails-ea2c5fa8046e2f953b366adc94f0610ccfea0828.zip |
A new application now comes with a layout and a stylesheet.
Diffstat (limited to 'railties/lib/rails/generators/erb/scaffold/scaffold_generator.rb')
-rw-r--r-- | railties/lib/rails/generators/erb/scaffold/scaffold_generator.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/railties/lib/rails/generators/erb/scaffold/scaffold_generator.rb b/railties/lib/rails/generators/erb/scaffold/scaffold_generator.rb index f607e580a5..ee591d85b3 100644 --- a/railties/lib/rails/generators/erb/scaffold/scaffold_generator.rb +++ b/railties/lib/rails/generators/erb/scaffold/scaffold_generator.rb @@ -25,12 +25,6 @@ module Erb end end - def copy_layout_file - return unless options[:layout] - template filename_with_extensions(:layout), - File.join("app/views/layouts", controller_class_path, filename_with_extensions(controller_file_name)) - end - protected def available_views |