Glue-Storefront custom routes

Nico Stark
Nico Stark Senior PHP Developer Posts: 4 πŸ§‘πŸ»β€πŸš€ - Cadet

Hoi together πŸ‘‹,

We have created a custom route in the Glue storefront. e.g. (GET /dummy/foo).

Now we would like to be able to pass on a parameter, but it doesn't seem to work that easily. e.g. (GET /dummy/foo/{id}).

Hence the question:
Where do I have to set this so that an ID is accepted at the end and no 404 appears? πŸ€·β€β™€οΈ

It was easier in the "old Glue" 😁

Thank you for reply and have a great Day πŸ„β€β™€οΈ

Best Answer

  • Nico Stark
    Nico Stark Senior PHP Developer Posts: 4 πŸ§‘πŸ»β€πŸš€ - Cadet
    Answer βœ“

    Hi Victor,
    Maybe I should go to bed.
    It's in the Symfony documentation πŸ€¦β€β™‚οΈ.
    Of course it works if you do it right. I had forgotten the documentary


    Thank you for this

Answers