diff options
Diffstat (limited to 'web/src/js/router.jsx')
-rw-r--r-- | web/src/js/router.jsx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/web/src/js/router.jsx b/web/src/js/router.jsx new file mode 100644 index 00000000..dc3e729b --- /dev/null +++ b/web/src/js/router.jsx @@ -0,0 +1,10 @@ +/** @jsx React.DOM */ + +var Router = React.createClass({ + render: function(){ + return <ReactRouter.Routes location="hash"> + <ReactRouter.Route name="certs" path="/" handler={CertInstallView}/> + <ReactRouter.Route name="other" path="/other" handler={CertInstallView}/> + </ReactRouter.Routes>; + } +}); |