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
Argomenti correlati
| Argomento | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
| Modify "New Topic" button default behavior | 6 | 1092 | Marzo 31, 2021 | |
| Overriding a Method in a controller | 1 | 820 | Luglio 19, 2018 | |
| Override function in /app/assets/javascripts/discourse/app/lib/ | 0 | 327 | Aprile 17, 2023 | |
| Using a Discourse component in a plugin | 19 | 4549 | Gennaio 26, 2017 | |
| [Solved] In plugin: opening the composer without changing the route | 4 | 1969 | Agosto 9, 2017 |