mirror of
https://github.com/franjsco/tick3t
synced 2025-01-16 11:20:34 +01:00
improvement: routes
This commit is contained in:
parent
fa91fbf4b2
commit
b248b35102
@ -31,8 +31,7 @@ class Routes extends Component {
|
||||
<Route path="/ticket/:ticketId" component={ViewRequest} />
|
||||
<Route path="/ticket/" exact component={() => <Redirect to="/" />} />
|
||||
<Route path="/login" component={Login} />
|
||||
<Route path="/admin/" exact component={() => <Redirect to="/admin/ticket" />} />
|
||||
<Route path="/admin/ticket" exact component={TicketList} />
|
||||
<Route path="/admin/" exact component={TicketList} />
|
||||
<Route path="/admin/ticket/:ticketId" component={TicketManager} />
|
||||
<Route component={PageNotFound} />
|
||||
</Switch>
|
||||
|
Loading…
Reference in New Issue
Block a user