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 new file mode 100644 index 00000000000..c989a677c18 --- /dev/null +++ b/app/assets/javascripts/admin/routes/admin-users-list-index.js.es6 @@ -0,0 +1,5 @@ +export default Discourse.Route.extend({ + redirect: 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 27f4ec30105..f59f25c4c83 100644 --- a/app/assets/javascripts/admin/templates/admin.hbs +++ b/app/assets/javascripts/admin/templates/admin.hbs @@ -8,7 +8,7 @@ {{#if currentUser.admin}}
  • {{#link-to 'adminSiteSettings'}}{{i18n 'admin.site_settings.title'}}{{/link-to}}
  • {{/if}} -
  • {{#link-to 'adminUsersList.show' 'active'}}{{i18n 'admin.users.title'}}{{/link-to}}
  • +
  • {{#link-to 'adminUsersList'}}{{i18n 'admin.users.title'}}{{/link-to}}
  • {{#if showBadges}}
  • {{#link-to 'adminBadges.index'}}{{i18n 'admin.badges.title'}}{{/link-to}}
  • {{/if}} @@ -34,4 +34,3 @@ -