Skip to content

Callable from twig/controller action #73

@karlmacklin

Description

@karlmacklin

For Single Page Application cases it would make a lot of sense to be able to generate the endpoint results from twig and/or controller actions.

That way you can prepopulate the initial page load with the same content you would as if you navigate to that page with an ajax request.
In a sense, a sort of 'server rendering' (but not really).

Perhaps this is already possible somehow? In that case, an example in the documentation would go a long way.

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