Skip to content

Commit c635c9f

Browse files
uds5501mariobehling
authored andcommitted
enh: rename non-admin settings routes to account (#3134)
* rename non-admin settings routes to account * add admin level account renaming * fix tests according to new routes
1 parent 191f868 commit c635c9f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+59
-59
lines changed

app/controllers/admin/users.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { computed } from '@ember/object';
55
export default Controller.extend({
66
onSessionRoute: computed('routing.currentRouteName', function() {
77
let currentRouteName = this.get('routing.currentRouteName');
8-
const routes = ['admin.users.view.index', 'admin.users.view.sessions.list', 'admin.users.view.tickets.list', 'admin.users.view.events.list', 'admin.users.view.settings.contact-info', 'admin.users.view.settings.email-preferences', 'admin.users.view.settings.applications'];
8+
const routes = ['admin.users.view.index', 'admin.users.view.sessions.list', 'admin.users.view.tickets.list', 'admin.users.view.events.list', 'admin.users.view.account.contact-info', 'admin.users.view.account.email-preferences', 'admin.users.view.account.applications'];
99
return !routes.includes(currentRouteName);
1010
})
1111
});

0 commit comments

Comments
 (0)