Files
freeCodeCamp/common/app/routes/Jobs/index.js
2015-09-10 16:27:08 -07:00

20 lines
337 B
JavaScript

import Jobs from './components/Jobs.jsx';
import Show from './components/Show.jsx';
/*
* index: /jobs list jobs
* show: /jobs/:id show one job
* create /jobs/new create a new job
*/
export default {
path: 'jobs',
childRoutes: [{
path: 'jobs',
component: Jobs
}, {
path: 'jobs/:id',
component: Show
}]
};