Files
freeCodeCamp/common/app/routes/Hikes/index.js

17 lines
255 B
JavaScript
Raw Normal View History

2015-07-03 20:42:54 -07:00
import Hikes from './components/Hikes.jsx';
2015-07-04 08:16:42 -07:00
/*
* show video /hikes/someVideo
* show question /hikes/someVideo/question1
*/
2015-07-03 20:42:54 -07:00
export default {
2015-07-03 21:46:22 -07:00
path: 'hikes(/:id)',
2015-07-03 20:42:54 -07:00
getComponents(cb) {
setTimeout(() => {
cb(null, Hikes);
}, 0);
}
};