Skip to main content

Timeline for dynamic route not updated

Current License: CC BY-SA 3.0

12 events
when toggle format what by license comment
Apr 4, 2017 at 23:33 vote accept AnD
Apr 4, 2017 at 23:33 comment added AnD I see, if that the case then i guess rebuild cache is the best answer
Apr 4, 2017 at 3:38 comment added Eyal Yes, it is fine to rebuild the caches after you create a new entity type.
Apr 3, 2017 at 9:17 comment added AnD I make (include delete) entity which will generate (or remove) route to that entity, i can do that manual rebuild cache, but just wondering if this the right/best solution...
Apr 3, 2017 at 9:10 comment added Eyal @AnD if you are not trying to dynamically create routes then there is no problem with rebuilding the cached after you change the routes (that is what I usually do).
Apr 3, 2017 at 8:36 comment added avpaderno @Eyal If the OP is showing the code effectively used, that is not even a dynamic route. If that is the effective code they are using, I would not use it.
Apr 2, 2017 at 17:55 comment added Eyal Why do you need to add new routes dynamically?
Apr 2, 2017 at 16:28 comment added avpaderno That is the necessary entry I was referring to. I should check what the module for image styles does, and see if there is something that module does that your code doesn't.
Apr 2, 2017 at 16:09 comment added AnD @kiamlaluno, thanks, do you mind to advise me the 'necessary entry' in routing.yml? i do route_callbacks: with service and made the correspondent services, pointing to the ExampleRoutes::routes that i show above in my questions - do i missed anything else?
Apr 2, 2017 at 15:51 comment added avpaderno Did you add the necessary entry in the routing.yml file?
Apr 2, 2017 at 15:38 answer added 4uk4 timeline score: 3
Apr 2, 2017 at 13:51 history asked AnD CC BY-SA 3.0