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

Appearance settings

TemplateController: extra arguments passed to the template are not managed by Symfony #12897

Copy link
Copy link
Closed
@Rebolon

Description

@Rebolon
Issue body actions

Playing with TemplateController, i saw in the documentation https://symfony.com/doc/master/templates.html#rendering-a-template-directly-from-a-route that i may send extra arguments

In fact, those extra arguments seems not managed by the TemplateController following the source code https://github.com/symfony/symfony/blob/5.0/src/Symfony/Bundle/FrameworkBundle/Controller/TemplateController.php (same for 4.*)

Maybe the documentation is not enough explicit about what those extra arguments are used byt Symfony, if they are.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.