From c20fc0924381e7446f8674d3ace8d7fa9a113ec4 Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Mon, 8 Jun 2015 11:02:14 -0400 Subject: [PATCH] Fixing breadcrumb issue w/ inventories -> scan job templates when editing/adding a scan job template, the 'Job Template' breadcrumb did not have a route associated with it. --- awx/ui/static/js/app.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/awx/ui/static/js/app.js b/awx/ui/static/js/app.js index c2040eb3b6..3cc7d22350 100644 --- a/awx/ui/static/js/app.js +++ b/awx/ui/static/js/app.js @@ -440,6 +440,10 @@ var tower = angular.module('Tower', [ } }). + when('/inventories/:inventory_id/job_templates/', { + redirectTo: '/inventories/:inventory_id' + }). + when('/inventories/:inventory_id/job_templates/:template_id', { name: 'inventoryJobTemplateEdit', templateUrl: urlPrefix + 'partials/job_templates.html',