Files
freeCodeCamp/common/app/routes/Jobs/index.js
Berkeley Martinez bb37583c90 fix should be getChildRoutes
fix fromNodeCallback returns array of values from callback
fix remove require.ensure - needs to be tested
2015-07-23 15:49:01 -07:00

19 lines
282 B
JavaScript

import Jobs from './components/Jobs.jsx';
/*
* show: /jobs
* showOne: /jobs/:id
* edit /jobs/:id
* delete /jobs/:id
* createOne /jobs/new
*/
export default {
path: '/jobs/(:jobId)',
getComponents(cb) {
setTimeout(() => {
cb(null, Jobs);
}, 0);
}
};