Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect output from rails routes when using singular resources … #27089

Merged
merged 1 commit into from Nov 18, 2016

Commits on Nov 18, 2016

  1. Fix incorrect output from rails routes when using singular resources …

    …issue rails#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 rails#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.
    Erick Reyna committed Nov 18, 2016
    Copy the full SHA
    c79848e View commit details
    Browse the repository at this point in the history