Files
freeCodeCamp/common/app/routes/Hikes/index.js
Berkeley Martinez 080fb4d37c add video player
2015-07-23 15:49:01 -07:00

17 lines
255 B
JavaScript

import Hikes from './components/Hikes.jsx';
/*
* show video /hikes/someVideo
* show question /hikes/someVideo/question1
*/
export default {
path: 'hikes(/:id)',
getComponents(cb) {
setTimeout(() => {
cb(null, Hikes);
}, 0);
}
};