Plus d'URL de simulation

pull/206/head
Mael 2018-03-22 16:46:37 +01:00 committed by Laurent Bossavit
parent 16346bd4f9
commit 4a6d72bedd
1 changed files with 1 additions and 7 deletions

View File

@ -49,13 +49,7 @@ export default class Layout extends Component {
<Route exact path="/" component={Home} />
<Route path="/contact" component={Contact} />
<Route path="/règle/:name" component={RulePage} />
{/* Redirect to be removed in March (Google should have understood...)*/}
<Route
path="/regle/:name"
render={({ match }) => (
<Redirect to={`/règle/${match.params.name}`} />
)}
/>
<Redirect from="/simu/*" to="/" />
<Route path="/règles" component={RulesList} />
<Route path="/mecanismes" component={Mecanisms} />
<Route path="/à-propos" component={About} />