mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +08:00
BUGFIX: calling _super() won't actually set the model to the controller
cf.
351719f7c1 (commitcomment-5410366)
for more information
This commit is contained in:
@ -13,7 +13,7 @@ Discourse.AdminEmailLogsRoute = Discourse.Route.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
setupController: function(controller, model) {
|
setupController: function(controller, model) {
|
||||||
this._super(controller, model);
|
controller.set("model", model);
|
||||||
// resets the filters
|
// resets the filters
|
||||||
controller.set("filter", { status: this.get("status") });
|
controller.set("filter", { status: this.get("status") });
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user