1
0
mirror of https://github.com/ascribe/onion.git synced 2025-01-08 20:55:59 +01:00
onion/js/routes.js

15 lines
334 B
JavaScript
Raw Normal View History

import React from 'react';
2015-05-18 09:56:16 +02:00
import Router from 'react-router';
import AscribeApp from './components/ascribe_app';
import ArtworkList from './components/gui/artwork_list';
2015-05-18 09:56:16 +02:00
var Route = Router.Route;
var routes = (
2015-05-18 09:59:45 +02:00
<Route handler={AscribeApp}>
<Route path="artworks" handler={ArtworkList} />
</Route>
);
export default routes;