Update the movie's route to match with and without page num
This commit is contained in:
parent
b096152658
commit
493aae6202
@ -83,8 +83,7 @@ ReactDOM.render((
|
||||
<Route path="/users/signup" component={UserSignUp} />
|
||||
<Route path="/users/edit" component={UserIsAuthenticated(UserEdit)} />
|
||||
<Route path="/movies/popular" component={UserIsAuthenticated(MovieListPopular)} />
|
||||
<Route path="/movies/polochon" component={UserIsAuthenticated(MovieListPolochon)} />
|
||||
<Route path="/movies/polochon/:page" component={UserIsAuthenticated(MovieListPolochon)} />
|
||||
<Route path="/movies/polochon(/:page)" component={UserIsAuthenticated(MovieListPolochon)} />
|
||||
</Route>
|
||||
</Router>
|
||||
</Provider>
|
||||
|
Loading…
x
Reference in New Issue
Block a user