diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-17 23:03:48 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-17 23:03:48 +0000 |
commit | e39bf105941133d3d6699c52c18dbd3b9aa0bf5c (patch) | |
tree | 600b99aac2e1298c3b92ee3381d1b7fe6bd6ea34 /railties/environments | |
parent | 2af41fc0367920f7ac6274e057d67b977800ca00 (diff) | |
download | rails-e39bf105941133d3d6699c52c18dbd3b9aa0bf5c.tar.gz rails-e39bf105941133d3d6699c52c18dbd3b9aa0bf5c.tar.bz2 rails-e39bf105941133d3d6699c52c18dbd3b9aa0bf5c.zip |
Loading the Routes should happen in the environments #655
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/environments')
-rw-r--r-- | railties/environments/shared.rb | 2 | ||||
-rw-r--r-- | railties/environments/shared_for_gem.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/railties/environments/shared.rb b/railties/environments/shared.rb index 2d37714831..9b261ba59e 100644 --- a/railties/environments/shared.rb +++ b/railties/environments/shared.rb @@ -60,6 +60,6 @@ end [ActionController::Base, ActionMailer::Base].each do |klass| klass.template_root ||= "#{RAILS_ROOT}/app/views/" end - +ActionController::Routing::Routes.reload # Include your app's configuration here: diff --git a/railties/environments/shared_for_gem.rb b/railties/environments/shared_for_gem.rb index 057f664396..6ee762de6a 100644 --- a/railties/environments/shared_for_gem.rb +++ b/railties/environments/shared_for_gem.rb @@ -56,6 +56,6 @@ end [ActionController::Base, ActionMailer::Base].each do |klass| klass.template_root ||= "#{RAILS_ROOT}/app/views/" end - +ActionController::Routing::Routes.reload # Include your app's configuration here: |