FIX: Leader requirements weren't loading when visited directly

This commit is contained in:
riking 2014-09-13 12:48:50 -07:00 committed by Sam
parent e69d084c88
commit 41d53c7222
1 changed files with 1 additions and 1 deletions

View File

@ -9,6 +9,6 @@
**/ **/
Discourse.AdminUserLeaderRequirementsRoute = Discourse.Route.extend({ Discourse.AdminUserLeaderRequirementsRoute = Discourse.Route.extend({
model: function() { model: function() {
return this.controllerFor('adminUser').get('model'); return this.modelFor('adminUser');
} }
}); });