diff --git a/awx/ui/client/src/inventory-scripts/add/add.route.js b/awx/ui/client/src/inventory-scripts/add/add.route.js index 85dc2c1cd6..d9259cf596 100644 --- a/awx/ui/client/src/inventory-scripts/add/add.route.js +++ b/awx/ui/client/src/inventory-scripts/add/add.route.js @@ -4,10 +4,12 @@ * All Rights Reserved *************************************************/ +import {templateUrl} from '../../shared/template-url/template-url.factory'; + export default { name: 'inventoryScriptsAdd', route: '/inventory_scripts/add', - templateUrl: '/static/js/inventory-scripts/add/add.partial.html', + templateUrl: templateUrl('inventory-scripts/add/add'), controller: 'addController', resolve: { features: ['FeaturesService', function(FeaturesService) { diff --git a/awx/ui/client/src/inventory-scripts/edit/edit.route.js b/awx/ui/client/src/inventory-scripts/edit/edit.route.js index 7a5c801856..0215420bdd 100644 --- a/awx/ui/client/src/inventory-scripts/edit/edit.route.js +++ b/awx/ui/client/src/inventory-scripts/edit/edit.route.js @@ -4,10 +4,12 @@ * All Rights Reserved *************************************************/ +import {templateUrl} from '../../shared/template-url/template-url.factory'; + export default { name: 'inventoryScriptsEdit', route: '/inventory_scripts/:inventory_script', - templateUrl: '/static/js/inventory-scripts/edit/edit.partial.html', + templateUrl: templateUrl('inventory-scripts/edit/edit'), controller: 'editController', resolve: { features: ['FeaturesService', function(FeaturesService) { diff --git a/awx/ui/client/src/inventory-scripts/list/list.route.js b/awx/ui/client/src/inventory-scripts/list/list.route.js index 23090b8c94..21b9197fb4 100644 --- a/awx/ui/client/src/inventory-scripts/list/list.route.js +++ b/awx/ui/client/src/inventory-scripts/list/list.route.js @@ -4,10 +4,12 @@ * All Rights Reserved *************************************************/ +import {templateUrl} from '../../shared/template-url/template-url.factory'; + export default { name: 'inventoryScriptsList', route: '/inventory_scripts', - templateUrl: '/static/js/inventory-scripts/list/list.partial.html', + templateUrl: templateUrl('inventory-scripts/list/list'), controller: 'inventoryScriptsListController', resolve: { features: ['FeaturesService', function(FeaturesService) { diff --git a/awx/ui/client/src/management-jobs/list/list.route.js b/awx/ui/client/src/management-jobs/list/list.route.js index 39c1d1a8bc..54fbb382df 100644 --- a/awx/ui/client/src/management-jobs/list/list.route.js +++ b/awx/ui/client/src/management-jobs/list/list.route.js @@ -4,10 +4,12 @@ * All Rights Reserved *************************************************/ +import {templateUrl} from '../../shared/template-url/template-url.factory'; + export default { name: 'managementJobsList', route: '/management_jobs', - templateUrl: '/static/js/management-jobs/list/list.partial.html', + templateUrl: templateUrl('management-jobs/list/list'), controller: 'listController', resolve: { features: ['FeaturesService', function(FeaturesService) { diff --git a/awx/ui/client/src/management-jobs/schedule/schedule.route.js b/awx/ui/client/src/management-jobs/schedule/schedule.route.js index f4896846b9..6cd1c8d1a8 100644 --- a/awx/ui/client/src/management-jobs/schedule/schedule.route.js +++ b/awx/ui/client/src/management-jobs/schedule/schedule.route.js @@ -4,10 +4,12 @@ * All Rights Reserved *************************************************/ +import {templateUrl} from '../../shared/template-url/template-url.factory'; + export default { name: 'managementJobsSchedule', route: '/management_jobs/:management_job/schedules', - templateUrl: '/static/js/management-jobs/schedule/schedule.partial.html', + templateUrl: templateUrl('management-jobs/schedule/schedule'), controller: 'scheduleController', resolve: { features: ['FeaturesService', function(FeaturesService) {