Context: We resort categories alphabetically manually after categories are changed. We’d like that to happen automatically after a category is saved.
How do you watch for the category saved event on discourse from the server side?
Context: We resort categories alphabetically manually after categories are changed. We’d like that to happen automatically after a category is saved.
How do you watch for the category saved event on discourse from the server side?
You can adapt this example to your needs.