diff options
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: |