If one defines a partial path on the controller, the default route ends with a trailing slash:
route("/users")
controller class UserController {
route("") //and route("/") both map to /users/
shared void listUsers() {}
}
This might not conform to established conventions. Might an empty route, route("") or route, be treated as the default route and separate from route("/")?
route("/users")
controller class UserController {
route //maps to /users
shared void listUsers() {}
route("/") //maps to /users/
shared void somethingElse() {}
}
If one defines a partial path on the controller, the default route ends with a trailing slash:
This might not conform to established conventions. Might an empty route,
route("")orroute, be treated as the default route and separate fromroute("/")?