diff options
author | Erick Reyna <ereyna@nearsoft.com> | 2016-11-17 16:32:49 -0600 |
---|---|---|
committer | Erick Reyna <ereyna@nearsoft.com> | 2016-11-18 15:12:13 -0600 |
commit | c79848e1e7c16d36a4af87c317422e17e04cde39 (patch) | |
tree | ae5cd91e36acc218b5ceefae6475b0dfa29bc4bb /activerecord/test/cases/adapters | |
parent | 7a3be90dce82031952e9abe07d9de7aedf1cb521 (diff) | |
download | rails-c79848e1e7c16d36a4af87c317422e17e04cde39.tar.gz rails-c79848e1e7c16d36a4af87c317422e17e04cde39.tar.bz2 rails-c79848e1e7c16d36a4af87c317422e17e04cde39.zip |
Fix incorrect output from rails routes when using singular resources issue #26606
Rails routes (even rake routes in previous versions) output showed incorrect routes when an application use resource :controller, implying that edit_controller_path match with controller#show.
The order of the output has changed to correct this. View #26606 for more information.
Added a test case, change unit test in rake to expect the new output.
Since the output of resource :controller is changing, the string spected of the railties/test/application/rake_test.rb test_rails_routes_with_controller_environment had to be modified.
Diffstat (limited to 'activerecord/test/cases/adapters')
0 files changed, 0 insertions, 0 deletions