This project is archived and is in readonly mode.

#5683 ✓wontfix
gucki

better route managment

Reported by gucki | September 22nd, 2010 @ 02:39 PM

  1. Priorities
    Rails should have a way to order routes. One idea is to allow specifying priorities, ex. resources :teams, :priority => 100.

  2. Remove routes
    Rails should also have a way to undefine a already defined route.

These features would especially be helpful when using engines.

If you think these could make it into master, I could also stark working on them of course :)

Comments and changes to this ticket

  • David Trasbo

    David Trasbo September 23rd, 2010 @ 08:54 AM

    • Importance changed from “” to “Low”

    I can sort of see the idea of (2), but could you please provide examples of how these features could be useful?

  • Ryan Bigg

    Ryan Bigg September 27th, 2010 @ 11:26 PM

    • State changed from “new” to “wontfix”

    Routes are already ordered by the order they are placed in. Engines should not override default routes but instead define their own routes. 3.1 makes engine routing a lot easier.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages