mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
FIX: Back button was a bit odd with default admin users list
This commit is contained in:
parent
4691fe35b3
commit
e63a24a08a
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
export default Discourse.Route.extend({
|
||||
redirect: function() {
|
||||
beforeModel: function() {
|
||||
this.replaceWith('adminUsersList.show', 'active');
|
||||
}
|
||||
});
|
||||
|
|
|
@ -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}}
|
||||
|
|
Loading…
Reference in a new issue