aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/router_jsx.js
blob: 707715de90a21a9b32a3c1559445973e872abc73 (plain)
1
2
3
4
5
6
7
8
9
10
/** @jsx React.DOM */

var Router = React.createClass({displayName: 'Router',
    render: function(){
        return ReactRouter.Routes({location: "hash"}, 
            ReactRouter.Route({name: "certs", path: "/", handler: CertInstallView}), 
            ReactRouter.Route({name: "other", path: "/other", handler: CertInstallView})
        );
    }
});