moved profile pages to it's own feature folder

This commit is contained in:
Torkel Ödegaard 2018-10-31 12:25:46 -07:00
parent 17386c49d4
commit dcf8327dc9
7 changed files with 4 additions and 4 deletions

View File

@ -10,3 +10,5 @@ import './alerting/NotificationsEditCtrl';
import './alerting/NotificationsListCtrl';
import './manage-dashboards';
import './teams/CreateTeamCtrl';
import './profile/ProfileCtrl';
import './profile/ChangePasswordCtrl';

View File

@ -1,5 +1,3 @@
import './profile_ctrl';
import './select_org_ctrl';
import './change_password_ctrl';
import './new_org_ctrl';
import './user_invite_ctrl';

View File

@ -179,12 +179,12 @@ export function setupAngularRoutes($routeProvider, $locationProvider) {
},
})
.when('/profile', {
templateUrl: 'public/app/features/org/partials/profile.html',
templateUrl: 'public/app/features/profile/partials/profile.html',
controller: 'ProfileCtrl',
controllerAs: 'ctrl',
})
.when('/profile/password', {
templateUrl: 'public/app/features/org/partials/change_password.html',
templateUrl: 'public/app/features/profile/partials/change_password.html',
controller: 'ChangePasswordCtrl',
})
.when('/profile/select-org', {