diff options
Diffstat (limited to 'railties/generators/scaffold/templates/controller.rb')
-rw-r--r-- | railties/generators/scaffold/templates/controller.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/railties/generators/scaffold/templates/controller.rb b/railties/generators/scaffold/templates/controller.rb index 83520f4794..15ade4c49b 100644 --- a/railties/generators/scaffold/templates/controller.rb +++ b/railties/generators/scaffold/templates/controller.rb @@ -1,6 +1,5 @@ class <%= class_name %>Controller < ApplicationController - model :<%= singular_name %> - layout 'scaffold' + layout 'scaffold' <% unless suffix -%> def index |