BUGFIX: do not forget Ember's default behavior
This commit is contained in:
parent
f81680d5c7
commit
351719f7c1
|
@ -12,7 +12,8 @@ Discourse.AdminEmailLogsRoute = Discourse.Route.extend({
|
|||
return Discourse.EmailLog.findAll({ status: this.get("status") });
|
||||
},
|
||||
|
||||
setupController: function(controller) {
|
||||
setupController: function(controller, model) {
|
||||
this._super(controller, model);
|
||||
// resets the filters
|
||||
controller.set("filter", { status: this.get("status") });
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue