Domanda

I have read all of the routing inside symfony cmf and I don't get it. Could someone provide me how does it goes to the for example SimpleController. I get that this is a generic controller when i press on the dynamic or static and when I press on the other menu item then ContentController is generic controller.

For example I have built my own bundle and I want to change how those the routing goes. I want to hardcode it. So I know how to build it from web interface. Providing me with some documentation would be cool also ? :)

È stato utile?

Soluzione

Have a look here: http://symfony.com/doc/master/cmf/reference/configuration/routing.html#default-controller

You can set defaults just like you can with the standard routing.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top