Skip to content

Commit

Permalink
FIX: Leader requirements weren't loading when visited directly
Browse files Browse the repository at this point in the history
  • Loading branch information
riking authored and SamSaffron committed Sep 30, 2014
1 parent e69d084 commit 41d53c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
**/
Discourse.AdminUserLeaderRequirementsRoute = Discourse.Route.extend({
model: function() {
return this.controllerFor('adminUser').get('model');
return this.modelFor('adminUser');
}
});

0 comments on commit 41d53c7

Please sign in to comment.