Overwriting controllers in plugin

If you want another example, take a look at the voting plugin. I do something similar there. It’s not from the controller itself but it’s close.

https://github.com/joebuhlig/discourse-feature-voting/blob/master/assets/javascripts/initializers/feature-voting.js.es6

4 Likes