Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Support having default routes without a trailing slash in annotated controllers #13

Open
@fwgreen

Description

@fwgreen

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() {}}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp