Skip to content

Commit

Permalink
Adding default route
Browse files Browse the repository at this point in the history
  • Loading branch information
Hartorn committed Nov 14, 2017
1 parent 33ce2ee commit f08e478
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/routes/home-routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,16 @@ const routes = [
{
path: 'event/:id/results',
component: StatsView
},
{
path: ':token',
indexRoute: {
onEnter: ({ params }, replace) => {
replace(`${__BASE_URL__}home`);
}
}
}

// {
// path: 'inscription',
// component: () => (<InscriptionView hasLoad={false} isEdit />)
Expand Down

0 comments on commit f08e478

Please sign in to comment.