Commit dcf8327d by Torkel Ödegaard

moved profile pages to it's own feature folder

parent 17386c49
...@@ -10,3 +10,5 @@ import './alerting/NotificationsEditCtrl'; ...@@ -10,3 +10,5 @@ import './alerting/NotificationsEditCtrl';
import './alerting/NotificationsListCtrl'; import './alerting/NotificationsListCtrl';
import './manage-dashboards'; import './manage-dashboards';
import './teams/CreateTeamCtrl'; import './teams/CreateTeamCtrl';
import './profile/ProfileCtrl';
import './profile/ChangePasswordCtrl';
import './profile_ctrl';
import './select_org_ctrl'; import './select_org_ctrl';
import './change_password_ctrl';
import './new_org_ctrl'; import './new_org_ctrl';
import './user_invite_ctrl'; import './user_invite_ctrl';
...@@ -179,12 +179,12 @@ export function setupAngularRoutes($routeProvider, $locationProvider) { ...@@ -179,12 +179,12 @@ export function setupAngularRoutes($routeProvider, $locationProvider) {
}, },
}) })
.when('/profile', { .when('/profile', {
templateUrl: 'public/app/features/org/partials/profile.html', templateUrl: 'public/app/features/profile/partials/profile.html',
controller: 'ProfileCtrl', controller: 'ProfileCtrl',
controllerAs: 'ctrl', controllerAs: 'ctrl',
}) })
.when('/profile/password', { .when('/profile/password', {
templateUrl: 'public/app/features/org/partials/change_password.html', templateUrl: 'public/app/features/profile/partials/change_password.html',
controller: 'ChangePasswordCtrl', controller: 'ChangePasswordCtrl',
}) })
.when('/profile/select-org', { .when('/profile/select-org', {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment