From 0c7507d3a0e3073d8d281c0eb51f5a0d1aff74d4 Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Wed, 30 Sep 2015 10:20:08 -0400 Subject: [PATCH] moving pendo service to login/authentication folder --- awx/ui/client/src/login/authenticationServices/main.js | 4 +++- .../login/{pendo => authenticationServices}/pendo.service.js | 0 awx/ui/client/src/login/main.js | 2 -- 3 files changed, 3 insertions(+), 3 deletions(-) rename awx/ui/client/src/login/{pendo => authenticationServices}/pendo.service.js (100%) diff --git a/awx/ui/client/src/login/authenticationServices/main.js b/awx/ui/client/src/login/authenticationServices/main.js index c6e4818cb3..a7de90ecc7 100644 --- a/awx/ui/client/src/login/authenticationServices/main.js +++ b/awx/ui/client/src/login/authenticationServices/main.js @@ -8,10 +8,12 @@ import authenticationService from './authentication.service'; import checkAccess from './checkAccess.factory'; import isAdmin from './isAdmin.factory'; import timer from './timer.factory'; +import pendoService from './pendo.service'; export default angular.module('authentication', []) .factory('Authorization', authenticationService) .factory('CheckAccess', checkAccess) .factory('IsAdmin', isAdmin) - .factory('Timer', timer); + .factory('Timer', timer) + .service('pendoService', pendoService); diff --git a/awx/ui/client/src/login/pendo/pendo.service.js b/awx/ui/client/src/login/authenticationServices/pendo.service.js similarity index 100% rename from awx/ui/client/src/login/pendo/pendo.service.js rename to awx/ui/client/src/login/authenticationServices/pendo.service.js diff --git a/awx/ui/client/src/login/main.js b/awx/ui/client/src/login/main.js index 8e38a03f8b..e4326a7d89 100644 --- a/awx/ui/client/src/login/main.js +++ b/awx/ui/client/src/login/main.js @@ -9,11 +9,9 @@ import loginModal from './loginModal/main'; import loginRoute from './login.route'; import logoutRoute from './logout.route'; -import pendoService from './pendo/pendo.service'; export default angular.module('login', [authentication.name, loginModal.name]) - .service('pendoService', pendoService) .config(['$routeProvider', function($routeProvider) { var url = loginRoute.route; delete loginRoute.route;