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.
joebuhlig
(Joe Buhlig)
3
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Modify "New Topic" button default behavior | 6 | 1092 | March 31, 2021 | |
| Overriding a Method in a controller | 1 | 820 | July 19, 2018 | |
| Override function in /app/assets/javascripts/discourse/app/lib/ | 0 | 327 | April 17, 2023 | |
| Using a Discourse component in a plugin | 19 | 4549 | January 26, 2017 | |
| [Solved] In plugin: opening the composer without changing the route | 4 | 1969 | August 9, 2017 |