Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

3.0: New Router sometimes routes to controller#show instead of controller#new

#3493

When more than one resource is defined the new router router routes to the show action (with :id => "new") of a resource instead of the new action.

I was able to fix this by changing the order of the created routes in the resources action.

Reported by Mutwin Kraus · November 18th, 2009 @ 08:40 PM

State: invalid
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Rizwan Reza
    Rizwan Reza
    • State changed from new to invalid

    The route defined last always takes precedence.

    January 21st, 2010 @ 04:22 PM