Redirection de /simu/ vers /

pull/138/head
mama 2017-11-28 10:52:21 +01:00
parent a986498ece
commit c773a998b5
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ export default class Layout extends Component {
<Route path="/regle/:name" component={Rule} />
<Route path="/regles" component={RulesList} />
<Route path="/simu/:targets" component={Simulateur} />
<Redirect from="/simu/" to="/" />
<Redirect from="/simu/:name/intro" to="/simu/:name" />
<Route component={Route404} />
</Switch>