Thanks @Falco.
I’ve just discovered that is is not as simple as initially noticed.
This is what I get on my Discourse dev instance:
- For an URL that doesn’t match any route, I get the rail “routing error” page (like this one) and my plugin is not loaded.
- For
https://www.mydiscourse.org/tag/zzzwherezzzis a non-existent tag, I get the Oops Discourse page and my plugin is not loaded. - For
https://www.mydiscourse.org/tag/zzz/notificationsI also get the Oops Discourse page, but my plugin is loaded.
Does it look like the intended behavior or should I worry about my Discourse dev instance?