I am having an issue with the automated inclusion of routes of my plugin (Sarkosh.CdCollection) in Neos. While looking at Neos.Setup as an example I figured that the package’s Routes.yaml file has not been included in any global Settings.yaml or Routes.yaml file.
I don’t see my routes even here:
./flow routeing:list
My Question is do I need to specifically include my package’s routes? If yes then why is it not the case for Neos.Setup?
Page Not Found
Sorry, the page you requested was not found.
#1303209195: No controller could be resolved which would match your request. Package key: "", controller name: "Standard". (GET http://neos.local/sarkosh/index)
I apologize if my question sounds dumb or very basic.
Never apologize, this forum is here for all our dumb, basic, complex and philosophical questions. Well almost all
As others mentioned, Routes are not active just by installing a package.
You can include your custom routes as so called “sub routes” from the main Routes.yaml or, more flexible and available since Flow v3.1) activate them via Settings.yaml:
The setup package does things a bit differently for technical reasons (most importantly: The router might not be configured correctly and that shouldn’t prevent you from accessing the setup):