mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
We no longer pass it the controller.
This commit is contained in:
@@ -231,7 +231,7 @@ class PluginApi {
|
||||
* Example:
|
||||
*
|
||||
* ```
|
||||
* api.addToolbarPopupMenuOptionsCallback(function(controller) {
|
||||
* api.addToolbarPopupMenuOptionsCallback(function() {
|
||||
* return {
|
||||
* action: 'toggleWhisper',
|
||||
* icon: 'eye-slash',
|
||||
|
||||
Reference in New Issue
Block a user