diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-15 11:30:09 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-15 11:30:09 +0000 |
commit | 4d9cda5732538e9cdb325b2ffa7f9e97f8ac2ec0 (patch) | |
tree | b00a149a047e97b978be9bcbcfe5b9e4b02ec0d5 /railties/generators/scaffold | |
parent | a02a96226e08557ba6abf70fa80168fe512b8f93 (diff) | |
download | rails-4d9cda5732538e9cdb325b2ffa7f9e97f8ac2ec0.tar.gz rails-4d9cda5732538e9cdb325b2ffa7f9e97f8ac2ec0.tar.bz2 rails-4d9cda5732538e9cdb325b2ffa7f9e97f8ac2ec0.zip |
Renamed AbstractApplicationController and abstract_application.rb to ApplicationController and application.rb, so that it will be possible for the framework to automatically pick up on app/views/layouts/application.rhtml and app/helpers/application.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/generators/scaffold')
-rw-r--r-- | railties/generators/scaffold/templates/controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/generators/scaffold/templates/controller.rb b/railties/generators/scaffold/templates/controller.rb index c8706098da..83520f4794 100644 --- a/railties/generators/scaffold/templates/controller.rb +++ b/railties/generators/scaffold/templates/controller.rb @@ -1,4 +1,4 @@ -class <%= class_name %>Controller < AbstractApplicationController +class <%= class_name %>Controller < ApplicationController model :<%= singular_name %> layout 'scaffold' |