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

17 lines
296 B
JavaScript
Raw Normal View History

2015-07-03 20:42:54 -07:00
import Hikes from './components/Hikes.jsx';
2015-12-22 19:33:25 -08:00
import Hike from './components/Hike.jsx';
2015-07-03 20:42:54 -07:00
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 {
path: 'videos',
2015-07-09 00:29:29 -07:00
component: Hikes,
childRoutes: [{
path: ':dashedName',
2015-12-22 19:33:25 -08:00
component: Hike
2015-07-09 00:29:29 -07:00
}]
2015-07-03 20:42:54 -07:00
};