aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/rails/app/templates/config/application.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-11-19 15:24:00 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2009-11-19 15:24:00 -0800
commitc7c39f52dcce4ea6de2051ee7816c0cb9d583f8f (patch)
tree2ea73ce578cb72a70c86a744c76615890535161b /railties/lib/rails/generators/rails/app/templates/config/application.rb
parent5df26dd7a91bb6d248b96c4308242a51ab59aa5c (diff)
downloadrails-c7c39f52dcce4ea6de2051ee7816c0cb9d583f8f.tar.gz
rails-c7c39f52dcce4ea6de2051ee7816c0cb9d583f8f.tar.bz2
rails-c7c39f52dcce4ea6de2051ee7816c0cb9d583f8f.zip
Revert "Final steps toward clean rails "foo"; cd foo; gem bundle; script/server working"
Broke stuff. This reverts commit 520b8b59110dd130c89b317b6bd65d8644c7836f.
Diffstat (limited to 'railties/lib/rails/generators/rails/app/templates/config/application.rb')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/application.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/application.rb b/railties/lib/rails/generators/rails/app/templates/config/application.rb
index 43067b2530..8008c6ba07 100644
--- a/railties/lib/rails/generators/rails/app/templates/config/application.rb
+++ b/railties/lib/rails/generators/rails/app/templates/config/application.rb
@@ -1,6 +1,6 @@
require File.expand_path('../boot', __FILE__)
-class <%= app_name.classify %> < Rails::Application
+Rails::Initializer.run do |config|
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
# -- all .rb files in that directory are automatically loaded.