FIX: Back button was a bit odd with default admin users list

This commit is contained in:
Robin Ward 2015-03-05 16:14:27 -05:00
parent 4691fe35b3
commit e63a24a08a
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
export default Discourse.Route.extend({
redirect: function() {
beforeModel: function() {
this.replaceWith('adminUsersList.show', 'active');
}
});

View file

@ -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}}