diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2008-03-29 18:01:49 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2008-03-29 18:01:49 +0000 |
commit | 9ffbbd08bb5648bcb57270a7c9e60c60eff3508c (patch) | |
tree | 941e0a7a3dfc1780265f9788fa33128a84dea8e0 /railties/lib | |
parent | f34d57e2d2fcc3357e7b4076d23bed3bfbd35ce3 (diff) | |
download | rails-9ffbbd08bb5648bcb57270a7c9e60c60eff3508c.tar.gz rails-9ffbbd08bb5648bcb57270a7c9e60c60eff3508c.tar.bz2 rails-9ffbbd08bb5648bcb57270a7c9e60c60eff3508c.zip |
Removed outdated scaffold from template
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails_generator/generators/components/controller/templates/controller.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/railties/lib/rails_generator/generators/components/controller/templates/controller.rb b/railties/lib/rails_generator/generators/components/controller/templates/controller.rb index da71b5f057..3341535a80 100644 --- a/railties/lib/rails_generator/generators/components/controller/templates/controller.rb +++ b/railties/lib/rails_generator/generators/components/controller/templates/controller.rb @@ -1,7 +1,4 @@ class <%= class_name %>Controller < ApplicationController -<% if options[:scaffold] -%> - scaffold :<%= singular_name %> -<% end -%> <% for action in actions -%> def <%= action %> |