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

bring back controller prefixes #104

capotej opened this Issue Jan 27, 2014 · 2 comments


4 participants

capotej commented Jan 27, 2014

Something like register("/users", usersController)


This comment has been minimized.

ggarber commented Feb 1, 2014



This comment has been minimized.

jackdbernier commented Nov 15, 2014

I'm achieving this by extending Controller and it looks quite ok.

val mount = "/users"
register(new UsersController(mount))
register(new AnotherController())

All you need to do is overriding addRoute to build the path using the mount.

Is there a reason not to use this approach ?

@scosenza scosenza closed this Sep 6, 2015

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