mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
BUGFIX: do not forget Ember's default behavior
This commit is contained in:
parent
f81680d5c7
commit
351719f7c1
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue