Glue-Storefront custom routes
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
-
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 this1
Answers
-
hey! Maybe share a snippet of what you're doing? (to understand better why it's not working)
Without too much information, I'd say you need to check the symfony route docs:
and apply that when create YourModuleRouteProviderPlugin
2 -
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 this1
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 920 Developer Corner
- 780 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random