I just had a look at the Kirby extension registry, which I wanted to use in my Podcast-Plugin and in an AMP-Plugin I am currently working on. But I don’t get quite behind it.
I just set up the base of my plugin and played around a bit. What I am trying to do is, registering a route, implementing a controller and then load a specific template.
So I just copied the route I currently have in my config.php and tried to register it:
So what I was awaiting: When I now remove my original route from the config.php (which worked) and have this registration in my plugin, I should still be able to open a page like: mydomain.com/about/amp
But now I do get a 404 error.
I am pretty sure, I am missing something here, but I don’t see it.
Can you give me a hint?