From a74291c91a16596680ddd728b0ad20d30c67ee0c Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Thu, 16 Jun 2016 17:12:45 +0800 Subject: [PATCH] We no longer pass it the controller. --- app/assets/javascripts/discourse/lib/plugin-api.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/lib/plugin-api.js.es6 b/app/assets/javascripts/discourse/lib/plugin-api.js.es6 index 8665e446899..c97573fb424 100644 --- a/app/assets/javascripts/discourse/lib/plugin-api.js.es6 +++ b/app/assets/javascripts/discourse/lib/plugin-api.js.es6 @@ -231,7 +231,7 @@ class PluginApi { * Example: * * ``` - * api.addToolbarPopupMenuOptionsCallback(function(controller) { + * api.addToolbarPopupMenuOptionsCallback(function() { * return { * action: 'toggleWhisper', * icon: 'eye-slash',