aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/router.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/js/router.jsx')
-rw-r--r--web/src/js/router.jsx10
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>;
+ }
+});