Extend Existing Controller?

I found this: Add a custom per-user setting in a plugin

In the comments, one user said he “patched a controller.” He has a .js.es6 file in assets/javascripts/discourse/initializers/ that references a method called api.modifyClass()

Hmmmmmmm :thinking: Maybe I am onto something here.

2 Likes