fix fromNodeCallback returns array of values from callback fix remove require.ensure - needs to be tested
19 lines
282 B
JavaScript
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);
|
|
}
|
|
};
|