Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Priorities for routes #191

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

Priorities for routes #191

musketyr opened this issue Feb 22, 2013 · 0 comments

Comments

@musketyr
Copy link
Contributor

@musketyr 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.