You'll want to listen to the filter:categories.build hook. You can remove all of the code creating the route override.
What's the hook for filtering posts in a topic page?
filter:topic.build(that's a link btw)
@julian showing off your markdown skills?
Can I use this hook
filter:topic.buildso I can filter the topics before all the additional processing happens?
If I can use
filter:controllers.topic.get, can you add the logged in users uid to the data passed in to the hook?
If I can use filter:controllers.topic.get, can you add the logged in users uid to the data passed in to the hook?
Feel free to submit a PR for this. Instead of passing in
topicData, pass it in an object.
It's a breaking change, so, in for a penny, in for a pound, look for all other
filter:controller...type hooks and make the same change.
When it gets merged, then you can post it in @baris' breaking changes thread
I will try to submit a PR. It's probably better to do a breaking change before v1.0.0