diff --git a/public/app/core/routes/routes.ts b/public/app/core/routes/routes.ts index f2527f14e16..90612d4c4e2 100644 --- a/public/app/core/routes/routes.ts +++ b/public/app/core/routes/routes.ts @@ -104,6 +104,11 @@ function setupAngularRoutes($routeProvider, $locationProvider) { controllerAs: 'ctrl', resolve: loadOrgBundle, }) + .when('/org/users/new', { + templateUrl: 'public/app/features/org/partials/invite.html', + controller : 'UserInviteCtrl', + resolve: loadOrgBundle, + }) .when('/org/apikeys', { templateUrl: 'public/app/features/org/partials/orgApiKeys.html', controller : 'OrgApiKeysCtrl', diff --git a/public/app/features/org/partials/invite.html b/public/app/features/org/partials/invite.html index e1be0b5648e..330441fc88d 100644 --- a/public/app/features/org/partials/invite.html +++ b/public/app/features/org/partials/invite.html @@ -1,60 +1,49 @@ -