Welcome Guest, Not a member yet? Register   Sign In
Conflict AutoRoutes
#1

Hello !
I have a two problems with the new AutoRoute Feature.
First of all, this is my routes before any interaction with Routes.php :
[Image: vMqS0aw.png]
Then, i need to put this routes for my project :
[Image: AXSc9Pn.png]
After that, PHP SPARK ROUTES return :
[Image: T6JiCaD.png]
So as we can see, the two routes for Cms Controller disapear.
My route that I manually inserted in the file Routes.php appears well so no worries, but my second method is no longer accessible via auto routing.
So if I declare a route for a method of a controller, the auto routing no longer works for all the other methods.

What should I do if I have to declare a route but the system continues to automatically generate the other routes for the controller ?
And second question, for the route in question, how can it be interpreted last, after the automatically generated routes? Priorities only work on my routes declared in the Routes.php file

Thank you in advance for your answers,
DeMiinuS
Reply




Theme © iAndrew 2016 - Forum software by © MyBB