BUGFIX: calling _super() won't actually set the model to the controller

cf.
351719f7c1 (commitcomment-5410366)
for more information
This commit is contained in:
Régis Hanol 2014-02-18 18:21:35 +01:00
parent 6c23a1903e
commit 30ccdf3fb7

View file

@ -13,7 +13,7 @@ Discourse.AdminEmailLogsRoute = Discourse.Route.extend({
},
setupController: function(controller, model) {
this._super(controller, model);
controller.set("model", model);
// resets the filters
controller.set("filter", { status: this.get("status") });
},