var ReactRouter = require("react-router");
//import {Route, IndexRoute} from "react-router";
var Route = ReactRouter.Route;
var React = require("react");
var App = require("./components/App");
var Search = require("./components/Search");

var routes = (
    <Route path="/search" component={App}>
        <Route path=":q" ignoreScrollBehaviour />
    </Route>
);

module.exports = routes;

var ReactRouter = require("react-router");
//import {Route, IndexRoute} from "react-router";
var Route = ReactRouter.Route;
var Redirect = ReactRouter.Redirect;
var React = require("react");
var App = require("./components/App");
var Search = require("./components/Search");

var routes = (
    <Route>
        <Route path="/search" component={App}>
            <Route path=":q" ignoreScrollBehaviour />
        </Route>
        <Redirect from="/" to="/search" />
    </Route>
);

module.exports = routes;

Add redirect on / until we have a nice frontpage or do something fancy.
Add redirect on / until we have a nice frontpage or do something fancy.

Closes #11
