diff options
Diffstat (limited to 'railties/generators/controller/controller_generator.rb')
-rw-r--r-- | railties/generators/controller/controller_generator.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/generators/controller/controller_generator.rb b/railties/generators/controller/controller_generator.rb index 4b53741565..79f9a7e03b 100644 --- a/railties/generators/controller/controller_generator.rb +++ b/railties/generators/controller/controller_generator.rb @@ -19,4 +19,8 @@ class ControllerGenerator < Rails::Generator::Base template "view.rhtml", "app/views/#{file_name}/#{action}.rhtml", binding end end + + def full_class_name + class_name + "Controller" + end end |