Skip to content

Recommend using root controller attribute in route definition #15282

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

Merged
merged 1 commit into from
May 3, 2021

Conversation

andrew-demb
Copy link
Contributor

Also, it is consistent with the example above:

# config/routes.yaml
hello:
    path:     /hello
    controller: App\Controller\HelloController::index
    methods: GET

Checked on Symfony 5.2.6

@carsonbot carsonbot added this to the 4.4 milestone Apr 23, 2021
@javiereguiluz
Copy link
Member

Merged! Thanks.

@javiereguiluz javiereguiluz merged commit 696c423 into symfony:4.4 May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants