Add polochon shows
This commit is contained in:
parent
f62413d5dc
commit
bfedb6ffd4
@ -90,6 +90,9 @@ const MovieListSearch = (props) => (
|
||||
const ShowListPopular = (props) => (
|
||||
<ShowList {...props} showsUrl='/shows/explore'/>
|
||||
)
|
||||
const ShowListPolochon = (props) => (
|
||||
<ShowList {...props} showsUrl='/shows/polochon'/>
|
||||
)
|
||||
const ShowDetailsView = (props) => (
|
||||
<ShowDetails {...props} />
|
||||
)
|
||||
@ -110,6 +113,7 @@ ReactDOM.render((
|
||||
<Route path="/movies/polochon(/:page)" component={UserIsAuthenticated(MovieListPolochon)} />
|
||||
<Route path="/shows/search/:search" component={UserIsAuthenticated(ShowListSearch)} />
|
||||
<Route path="/shows/popular" component={UserIsAuthenticated(ShowListPopular)} />
|
||||
<Route path="/shows/polochon" component={UserIsAuthenticated(ShowListPolochon)} />
|
||||
<Route path="/shows/details/:imdbId" component={UserIsAuthenticated(ShowDetailsView)} />
|
||||
</Route>
|
||||
</Router>
|
||||
|
@ -99,6 +99,9 @@ function ShowsDropdown(props) {
|
||||
<LinkContainer to="/shows/popular">
|
||||
<NavItem>Popular</NavItem>
|
||||
</LinkContainer>
|
||||
<LinkContainer to="/shows/polochon">
|
||||
<NavItem>Polochon</NavItem>
|
||||
</LinkContainer>
|
||||
</NavDropdown>
|
||||
</Nav>
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user