This project is archived and is in readonly mode.
Priority for routes does not override resource statements
-
Andrew White
- State changed from new to invalid
- Importance changed from to Low
The generated url helpers from the resources call overwrite the one from the previous route. It's just like redefining a method. If you use url_for it will match the first route, e.g:
url_for(:controller => 'subjects', :action => 'new', :account_id => 1)