jonassiewertsen / statamic-oh-dear

A Oh Dear integration for Statamic v3. Check your monitored uptime, SSL certificates, mixed content and broken links easily from your Statamic control panel.
7 stars 4 forks source link

fix controller not found error #11

Closed lukasleitsch closed 1 year ago

lukasleitsch commented 1 year ago

In Statamic 4 the controllers were not found. The upgrade guide recommends to use class reference.

https://statamic.dev/upgrade-guide/3-4-to-4-0#route-namespaces-have-been-removed

This PR refactors the routes.

jonassiewertsen commented 1 year ago

Thanks! Looking good.

jonassiewertsen commented 1 year ago

I created a new release for your fix.

https://github.com/jonassiewertsen/statamic-oh-dear/releases/tag/v1.10.1