ObjectController is deprecated

This commit is contained in:
Régis Hanol 2015-08-12 23:07:58 +02:00
parent 3ebc9d2ab1
commit e1fda2b108

View file

@ -1,6 +1,4 @@
import ObjectController from "discourse/controllers/object"; export default Ember.Controller.extend({
export default ObjectController.extend({
stopNotificiationsText: function() { stopNotificiationsText: function() {
return I18n.t("topic.unsubscribe.stop_notifications", { title: this.get("model.fancyTitle") }); return I18n.t("topic.unsubscribe.stop_notifications", { title: this.get("model.fancyTitle") });