diff options
author | Carl Lerche <carllerche@mac.com> | 2009-09-29 17:33:17 -0700 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2009-09-29 17:33:17 -0700 |
commit | c9d4529c9da7c8c8f1ba3c2ab55fb40154a25023 (patch) | |
tree | fd4e7f2189e0b26e413c15ff68f8df7e8da378ae /railties/lib/rails/generators | |
parent | d1a63b15e329a141e0e4cc3b01d6f348d1c25c0a (diff) | |
download | rails-c9d4529c9da7c8c8f1ba3c2ab55fb40154a25023.tar.gz rails-c9d4529c9da7c8c8f1ba3c2ab55fb40154a25023.tar.bz2 rails-c9d4529c9da7c8c8f1ba3c2ab55fb40154a25023.zip |
Change Rails::Application to a class that is inherited from.
This is still very experimental.
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config.ru | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config.ru b/railties/lib/rails/generators/rails/app/templates/config.ru index 52a8a8e798..50ee033d44 100644 --- a/railties/lib/rails/generators/rails/app/templates/config.ru +++ b/railties/lib/rails/generators/rails/app/templates/config.ru @@ -1,8 +1,5 @@ -# Rack Dispatcher - -# Bootstrap rails -require ::File.dirname(__FILE__) + '/config/boot' # Require your environment file to bootstrap Rails +require ::File.dirname(__FILE__) + '/config/environment' # Dispatch the request -run Rails::Application.load(::File.dirname(__FILE__) + '/config/environment.rb') +run Rails.application.new |