diff --git a/app/assets/javascripts/admin/routes/admin-users-list-index.js.es6 b/app/assets/javascripts/admin/routes/admin-users-list-index.js.es6 index c989a677c18..09c09197d5d 100644 --- a/app/assets/javascripts/admin/routes/admin-users-list-index.js.es6 +++ b/app/assets/javascripts/admin/routes/admin-users-list-index.js.es6 @@ -1,5 +1,5 @@ export default Discourse.Route.extend({ - redirect: function() { + beforeModel: function() { this.replaceWith('adminUsersList.show', 'active'); } }); diff --git a/app/assets/javascripts/admin/templates/admin.hbs b/app/assets/javascripts/admin/templates/admin.hbs index a651826c86c..df56d57bf8d 100644 --- a/app/assets/javascripts/admin/templates/admin.hbs +++ b/app/assets/javascripts/admin/templates/admin.hbs @@ -8,7 +8,7 @@ {{#if currentUser.admin}} {{admin-nav-item route='adminSiteSettings' label='admin.site_settings.title'}} {{/if}} - {{admin-nav-item route='adminUsersList' label='admin.users.title'}} + {{admin-nav-item route='adminUsersList.show' routeParam='active' label='admin.users.title'}} {{#if showBadges}} {{admin-nav-item route='adminBadges.index' label='admin.badges.title'}} {{/if}}