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

View File

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