diff options
Diffstat (limited to 'railties/generators/controller/templates/controller.rb')
-rw-r--r-- | railties/generators/controller/templates/controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/generators/controller/templates/controller.rb b/railties/generators/controller/templates/controller.rb index da71b5f057..0daf04b348 100644 --- a/railties/generators/controller/templates/controller.rb +++ b/railties/generators/controller/templates/controller.rb @@ -1,4 +1,4 @@ -class <%= class_name %>Controller < ApplicationController +class <%= full_class_name %> < ApplicationController <% if options[:scaffold] -%> scaffold :<%= singular_name %> <% end -%> |