- Notifications
You must be signed in to change notification settings - Fork3
Open
Labels
Milestone
Description
If one defines a partial path on the controller, the default route ends with a trailing slash:
route("/users")controllerclassUserController {route("")//and route("/") both map to /users/sharedvoidlistUsers() {}}
This might not conform toestablished conventions. Might an empty route,route("")
orroute
, be treated as the default route and separate fromroute("/")
?
route("/users")controllerclassUserController {route//maps to /userssharedvoidlistUsers() {}route("/")//maps to /users/sharedvoidsomethingElse() {}}