Hi all,
Is there a way to get the absolute URL of the models
folder ?
I tried something like $kirby()->roots()->pageModels()
(or ->models()
), but that not work. I didn’t find anything in the doc about this. controllers and others folders have their method to get it but it’s look like page models doesn’t have one ?
Thanks!
EDIT :
I don’t know why this was not working at the first time but it’s look like ->models()
is the right way.
But it’s still something that I didn’t find on the doc