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
Связанные темы
| Тема | Ответов | Просм. | Активность | |
|---|---|---|---|---|
| Modify "New Topic" button default behavior | 6 | 1107 | 31.03.2021 | |
| Overriding a Method in a controller | 1 | 824 | 19.07.2018 | |
| Override function in /app/assets/javascripts/discourse/app/lib/ | 0 | 336 | 17.04.2023 | |
| Using a Discourse component in a plugin | 19 | 4554 | 26.01.2017 | |
| [Solved] In plugin: opening the composer without changing the route | 4 | 1975 | 09.08.2017 |