FIX: Back button was a bit odd with default admin users list
This commit is contained in:
parent
4691fe35b3
commit
e63a24a08a
|
@ -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 New Issue