2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-07 12:02:53 +08:00

We no longer pass it the controller.

This commit is contained in:
Guo Xiang Tan 2016-06-16 17:12:45 +08:00
parent adecdbee56
commit a74291c91a
No known key found for this signature in database
GPG key ID: 19C321C8952B0F72

View file

@ -231,7 +231,7 @@ class PluginApi {
* Example:
*
* ```
* api.addToolbarPopupMenuOptionsCallback(function(controller) {
* api.addToolbarPopupMenuOptionsCallback(function() {
* return {
* action: 'toggleWhisper',
* icon: 'eye-slash',