Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

New document does not get Route added #99

@silverbackdan

Description

@silverbackdan

When I add a new document, I need to refresh it before I can call getRoutes (otherwise it returns an empty array) - this is if I implement RouteReferrersReadInterface which does not include an addRoute method
See a conversation here with examples: symfony-cmf/routing-bundle#394

I followed some docs here about the CMF bundle which uses the routing-auto-bundle, which uses this bundle
https://symfony.com/doc/current/cmf/tutorial/getting-started.html

I'm not sure what I'd need to put in the addRoute method if I implement that interface with my setup. I'd like the route to be automatically generated based on my config. Is just refreshing the doc the best way to do this?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions