I am having issues with routes and to debug it’d be useful to echo them as they are resolved by Kirby from config file.
Is it possible?
Thank you
I am having issues with routes and to debug it’d be useful to echo them as they are resolved by Kirby from config file.
Is it possible?
Thank you
What exactly do you mean? Inside the route?
Hello @pixelijn,
I mean , for example, the fully resolved route if such a thing is actually stored.
For example http://blahblah/blah/myroute
from a route such as (:all)/myroute'
Thank you
Oh, there is actually $kirby->routes() , ->router() and ->route()
Let’s explore that.
Thanks
Inside the route you have access to $this
which is the same as $kirby->route()
.