Files
awx/awx/ui/client/features/jobs/index.js
Jared Tabor 8f3cc4ec3e Addes a /#/jobs/schedules/:schedule_id/ route to the app
To leave user in the context of jobs/schedules when editing
a schedule instead of putting them in the context of the resource
they're scheduling
2018-05-14 17:54:30 -07:00

17 lines
547 B
JavaScript

import JobsStrings from './jobs.strings';
import jobsRoute from './routes/jobs.route';
import { jobsSchedulesRoute, jobsSchedulesEditRoute } from '../../src/scheduler/schedules.route';
const MODULE_NAME = 'at.features.jobs';
angular
.module(MODULE_NAME, [])
.service('JobsStrings', JobsStrings)
.run(['$stateExtender', ($stateExtender) => {
$stateExtender.addState(jobsRoute);
$stateExtender.addState(jobsSchedulesRoute);
$stateExtender.addState(jobsSchedulesEditRoute);
}]);
export default MODULE_NAME;