We’re building a Sitemap plugin and I’m running into an issue.
(Yes there has been a lot of discussion around the need for a sitemap, but Google News totally requires it)
Somehow the code in the controller is never executed and I get the regular “The page you requested doesn’t exist or is private” message.
Because I suspected an issue with the view, I have stripped the code so it should only output a log line and an error, but this doesn’t work either.
Code is here:
Running it does this:
If I rename the
generate method or change the route, I get an error that the controller could not be found, so I should be on the right path here. Is there anyone who can spot (the probably very trivial) issue?