absolute path for /game/views
This commit is contained in:
parent
c9019b6e03
commit
04590e3be5
@ -11,7 +11,7 @@ public class ReactAppController {
|
||||
// This controller simply redirects all UI related routes
|
||||
// to index.html, allowing react and react-router to work its magic
|
||||
|
||||
@GetMapping(value = { "", "/", "/games", "/games/*", "/about","/leaderboard" })
|
||||
@GetMapping(value = { "", "/", "/games", "/games/*", "/about","/leaderboard" })
|
||||
@PutMapping("/error")
|
||||
public String getIndex(HttpServletRequest inRequest) {
|
||||
return "/index.html";
|
||||
|
@ -48,10 +48,10 @@ function ViewSelector() {
|
||||
return (
|
||||
<nav className='ViewSelector' >
|
||||
<div className='Container' >
|
||||
<NavLink to='new'>New</NavLink>
|
||||
<NavLink to='proposal'>Proposal<Counter number={guide.awaiting.proposal} /></NavLink>
|
||||
<NavLink to='active' >Active<Counter number={guide.awaiting.active} /></NavLink>
|
||||
<NavLink to='archive' >Archive</NavLink>
|
||||
<NavLink to='/games/new'>New</NavLink>
|
||||
<NavLink to='/games/proposal'>Proposal<Counter number={guide.awaiting.proposal} /></NavLink>
|
||||
<NavLink to='/games/active' >Active<Counter number={guide.awaiting.active} /></NavLink>
|
||||
<NavLink to='/games/archive' >Archive</NavLink>
|
||||
</div>
|
||||
</nav>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user