fixing management_jobs routes

This commit is contained in:
Jared Tabor 2016-01-05 22:49:53 -05:00
parent e6040371b7
commit d35fd089be
2 changed files with 3 additions and 2 deletions

View File

@ -252,7 +252,8 @@ export default
scope.configureSchedule = function() {
$state.transitionTo('managementJobsSchedule', {
management_job: this.configure_job.id
management_job: this.configure_job,
management_job_id: this.configure_job.id
});
};

View File

@ -58,7 +58,7 @@ export default [
}
$scope.removeChoicesReady = $scope.$on('choicesReady', function() {
// Load the parent object
id = $stateParams.management_job;
id = $stateParams.management_job_id;
url = GetBasePath('system_job_templates') + id + '/';
Rest.setUrl(url);
Rest.get()