Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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
Appearance settings

[Routing] automatic route name #53237

Open
@seb-jean

Description

@seb-jean

Symfony version(s) affected

7.0.1

Description

Symfony generates an automatic route name with the action method name.
When the action method name has a capital letter like changePassword, it giveschangepassword.

In the following example, the route name isapp_account_security_changepassword.
It would be interesting to have insteadapp_account_security_change_password

What do you think ?

How to reproduce

<?phpnamespaceApp\Controller\Account;// ...finalclass SecurityControllerextends AbstractController{    #[Route('/account/security/change-password'])]publicfunctionchangePassword():Response    {// ...    }}

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp