diff --git a/js/router.jsx b/js/router.jsx index 917dfe5..1de1840 100644 --- a/js/router.jsx +++ b/js/router.jsx @@ -30,6 +30,7 @@ Router = React.createClass({ page( /^\/author\/([a-z0-9-]+)\/?$/, this.author ); page( /^\/category\/([a-z0-9-]+)\/?$/, this.category ); page( /^\/tag\/([a-z0-9-]+)\/?$/, this.tag ); + page( /^\/wp-admin\/.*$/, this.admin ); page( /^[a-z0-9-\/]+\/([a-z0-9-]+)\/$/, this.page ); page( /^\/([a-z0-9-]+)\/$/, this.page ); page( '*', this.notfound ); @@ -66,6 +67,9 @@ Router = React.createClass({ template: