This project is archived and is in readonly mode.
rake routes gives different results (rails 3.0.0.rc1, rails 3.0.0.rc2)
-
Andrew White
- Importance changed from to Low
In rc1 the resource name was forced to be a plural but since this broke some peoples apps starting from rc2 we assume that you pass the plural in the resources call (similarly a resource call assumes a singular). Since you pass in export to the resources call the singular name matches the resource name and it thinks the resource is uncountable and appends _index to the index route.
If you update to the 3.0.0 final release and change your routes to this then it should work:
resources :exports do collection do get :db get :audit end endYou shouldn't need the export custom inflection.
-
Andrew White
- State changed from new to invalid