mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 08:53:41 +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:
parent
6c23a1903e
commit
30ccdf3fb7
|
@ -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") });
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user