content: import React from 'react';
  import { Route, IndexRoute } from 'react-router';
  
  import {
    AppContainer,
    AdminContainer,
    AdminModelsContainer,
    AdminUsersContainer,
    AdminLoginContainer,
    AuthorisationContainer,
    HomeContainer,
    LoginContainer,
    RegisterContainer,
    ResetPasswordContainer,
    ModelContainer,
    ModelEditContainer,
    UploadContainer,
    RootContainer,
    ErrorContainer,
    BrowseContainer,
    ProfileContainer
  } from 'webapp/components';
  
  export default (
    <Route component={ RootContainer }>
      <Route path="/" component={ AppContainer }>
        <IndexRoute component={ HomeContainer } />
        <Route path="model/:modelId" component={ ModelContainer } />
        <Route path="browse" component={ BrowseContainer } />
        <Route component={ AuthorisationContainer }>
          <Route path="upload" component={ UploadContainer } />
          <Route path="model/:modelId/edit" component={ ModelEditContainer } />
        </Route>
        <Route path="u/:username" component={ ProfileContainer } />
        <Route path="admin" component={ AdminContainer }>
          <IndexRoute component={ AdminModelsContainer } />
          <Route path="user" component={ AdminUsersContainer } />
        </Route>
      </Route>
      <Route path="/adminLogin" component={ AdminLoginContainer } />
      <Route path="/login" component={ LoginContainer } />
      <Route path="/register" component={ RegisterContainer } />
      <Route path="/resetPassword" component={ ResetPasswordContainer } />
      <Route path="*" component={ ErrorContainer } />
    </Route>
  );
  