Ideally, you’ll want to reopen the controller inside an initializer.
Have a look at the “initialize code” section under Developing Discourse Plugins - Part 1 - Create a basic plugin. ![]()
Ideally, you’ll want to reopen the controller inside an initializer.
Have a look at the “initialize code” section under Developing Discourse Plugins - Part 1 - Create a basic plugin. ![]()