import React from 'react';
import { Route, DefaultRoute, NotFoundRoute } from 'react-router';

import App from './pages/app.jsx';

import Lobby from './pages/lobby.jsx';
import Game from './pages/game.jsx';

import NotFound from './pages/notFound.jsx';

var routes = (
  <Route name="app" path="/" handler={ App }>
    <Route name="game" handler={ Game } />
    <Route name="lobby" handler={ Lobby } />
    <DefaultRoute handler={ Lobby } />
    <NotFoundRoute handler={ NotFound } />
  </Route>
);

export default routes;

@@ -330,16 +330,33 @@
 e=%22game%22
+ path=%22/game/:id%22
  handler

Add path to game in router