2015-07-03 17:40:12 -07:00
|
|
|
import Jobs from './components/Jobs.jsx';
|
2015-08-29 01:00:52 -07:00
|
|
|
import Show from './components/Show.jsx';
|
2015-07-03 17:40:12 -07:00
|
|
|
|
2015-06-17 21:04:28 -07:00
|
|
|
/*
|
2015-08-29 01:00:52 -07:00
|
|
|
* index: /jobs list jobs
|
|
|
|
* show: /jobs/:id show one job
|
|
|
|
* create /jobs/new create a new job
|
2015-06-17 21:04:28 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
export default {
|
2015-07-25 15:15:59 -07:00
|
|
|
path: 'jobs',
|
2015-08-29 01:00:52 -07:00
|
|
|
childRoutes: [{
|
|
|
|
path: 'jobs',
|
|
|
|
component: Jobs
|
|
|
|
}, {
|
|
|
|
path: 'jobs/:id',
|
|
|
|
component: Show
|
|
|
|
}]
|
2015-06-17 21:04:28 -07:00
|
|
|
};
|