diff options
Diffstat (limited to 'railties')
-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 %> |