Priorities for routes #191

Closed
musketyr opened this Issue Feb 22, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@musketyr
Contributor

musketyr commented Feb 22, 2013

We should be able to specify the priority for routes. If I have a plugin even indirectly conficts with the routes in routes.groovy the plugin became inaccessible. The solution might be either to add plugin routes prior the routes from routes.groovy or to add ability to specify priority for routes. The routes than will be stored in routes filter not by the order added by its priority. It makes sense for each plugin and routes.groovy script to set base priority - e.g. 0 for routes.groovy and the default priority will be base priority + routes counter for particular script so the order in the script will be still persisted by default.

@musketyr musketyr closed this Mar 14, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment