Basically, you need to look up how the rails routes and engines work. Routes map the urls with rails controllers’ actions. Also do refer to this guide. Its my favourite discoursd tutorial. How to create a Discourse plugin – kleinfreund.de
fzngagan
(Faizaan Gagan)
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Plugin development without a reference | 1 | 611 | November 5, 2022 | |
| Call Discourse routes from inside the plugin (Ruby API) | 0 | 561 | June 9, 2020 | |
| How to access plugin paths via URL? | 10 | 1700 | January 25, 2019 | |
| Adding a ruby controller via plugin | 14 | 2593 | April 8, 2017 | |
| Add custom user routes using plugins | 2 | 994 | December 5, 2018 |