diff options
author | wangjohn <wangjohn@mit.edu> | 2013-06-09 19:47:07 -0700 |
---|---|---|
committer | wangjohn <wangjohn@mit.edu> | 2013-06-10 20:59:37 -0700 |
commit | 55d708d5974351eb64c5977d82fff0ae6cd1451f (patch) | |
tree | 3f774615200c1779d27d2130f7560303e26588c1 /railties/test/application/middleware | |
parent | ebf2113a0565d2e38802f29291b3971b2c7f7922 (diff) | |
download | rails-55d708d5974351eb64c5977d82fff0ae6cd1451f.tar.gz rails-55d708d5974351eb64c5977d82fff0ae6cd1451f.tar.bz2 rails-55d708d5974351eb64c5977d82fff0ae6cd1451f.zip |
Calls to the application constant have been refactored to use
Rails.application when drawing routes and creating other configurations
on the application.
Diffstat (limited to 'railties/test/application/middleware')
-rw-r--r-- | railties/test/application/middleware/cache_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/middleware/cache_test.rb b/railties/test/application/middleware/cache_test.rb index b8e0c9be60..b4db840e68 100644 --- a/railties/test/application/middleware/cache_test.rb +++ b/railties/test/application/middleware/cache_test.rb @@ -45,7 +45,7 @@ module ApplicationTests RUBY app_file 'config/routes.rb', <<-RUBY - AppTemplate::Application.routes.draw do + Rails.application.routes.draw do get ':controller(/:action)' end RUBY |