diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2013-06-17 17:37:54 -0700 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2013-06-17 17:37:54 -0700 |
commit | 9ec2e2ee91568af24e09760a6de2890b89c33f56 (patch) | |
tree | 1a318f9ad8ebfbacdc56d488298d5eb1e2c244b0 /railties/test/application/asset_debugging_test.rb | |
parent | e086ff563569f72a156fe105cc47767ad376cc3f (diff) | |
parent | 55d708d5974351eb64c5977d82fff0ae6cd1451f (diff) | |
download | rails-9ec2e2ee91568af24e09760a6de2890b89c33f56.tar.gz rails-9ec2e2ee91568af24e09760a6de2890b89c33f56.tar.bz2 rails-9ec2e2ee91568af24e09760a6de2890b89c33f56.zip |
Merge pull request #10902 from wangjohn/removing_application_singleton_calls
Calls to the application constant have been refactored
Diffstat (limited to 'railties/test/application/asset_debugging_test.rb')
-rw-r--r-- | railties/test/application/asset_debugging_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/asset_debugging_test.rb b/railties/test/application/asset_debugging_test.rb index b3b40448c0..9a571fac3a 100644 --- a/railties/test/application/asset_debugging_test.rb +++ b/railties/test/application/asset_debugging_test.rb @@ -14,7 +14,7 @@ module ApplicationTests app_file "app/views/posts/index.html.erb", "<%= javascript_include_tag 'application' %>" app_file "config/routes.rb", <<-RUBY - AppTemplate::Application.routes.draw do + Rails.application.routes.draw do get '/posts', to: "posts#index" end RUBY |