From e1fda2b1089da6c22e08ee6ff5dda9186deb9740 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Wed, 12 Aug 2015 23:07:58 +0200 Subject: [PATCH] ObjectController is deprecated --- .../discourse/controllers/topic-unsubscribe.js.es6 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/assets/javascripts/discourse/controllers/topic-unsubscribe.js.es6 b/app/assets/javascripts/discourse/controllers/topic-unsubscribe.js.es6 index e76daabf6..a2611ebdc 100644 --- a/app/assets/javascripts/discourse/controllers/topic-unsubscribe.js.es6 +++ b/app/assets/javascripts/discourse/controllers/topic-unsubscribe.js.es6 @@ -1,6 +1,4 @@ -import ObjectController from "discourse/controllers/object"; - -export default ObjectController.extend({ +export default Ember.Controller.extend({ stopNotificiationsText: function() { return I18n.t("topic.unsubscribe.stop_notifications", { title: this.get("model.fancyTitle") });