Welcome Guest, Not a member yet? Register   Sign In
Override :any routes
#2

[eluser]Jelmer[/eluser]
Routing rules are processed in the order in which you put them. It's not "best fit" it's "first match". So if your :any rule already matched the page/lp, that second "override" rule will never be processed.
Always put the more specific rule (‘/page/lp/:any') before the more general rule (‘/page/:any').


Messages In This Thread
Override :any routes - by El Forum - 08-05-2010, 06:45 PM
Override :any routes - by El Forum - 08-05-2010, 06:54 PM
Override :any routes - by El Forum - 08-05-2010, 06:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB