Files
freeCodeCamp/common/app/routes/index.js
Berkeley Martinez 078560c3ba Add language routing
2016-07-28 23:40:01 -07:00

16 lines
285 B
JavaScript

import { modernChallenges, map, challenges } from './challenges';
import NotFound from '../components/NotFound/index.jsx';
export default {
path: '/:lang',
childRoutes: [
challenges,
modernChallenges,
map,
{
path: '*',
component: NotFound
}
]
};