symfony-cmf / routing-bundle

Symfony bundle to provide the CMF chain router to handle multiple routers, and the dynamic router to load routes from a database or other sources.
160 stars 78 forks source link

Avoid using deprecated feature from symfony-cmf/routing library #470

Closed acrobat closed 2 years ago

acrobat commented 2 years ago
Q A
Branch? "master"
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets
License MIT
Doc PR

Passing objects as the route name is deprecated in symfony-cmf/routing, so I refactored this controller that there are no deprecations triggered.

The 2 fixes in the github workflow are needed to make the tests pass (the failures are unrelated to this change)