Files
freeCodeCamp/common/app/routes/Jobs/index.js
Berkeley Martinez a8540bee35 add initial react app
2015-06-17 21:04:28 -07:00

20 lines
292 B
JavaScript

/*
* show: /jobs
* showOne: /jobs/:id
* edit /jobs/:id
* delete /jobs/:id
* createOne /jobs/new
*/
export default {
path: '/jobs/(:jobId)',
getComponents(cb) {
require.ensure([], require => {
cb(null, [
require('./components/Jobs')
]);
});
}
};