summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/project/project.container.js
blob: 584f210d843c37de1cffb86503ce94e1cf35e9d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import React, { Component } from 'react'
import { Route } from 'react-router-dom'

import './project.css'

import EpisodeNew from 'app/views/episode/containers/episode.new'
import VenueNew from 'app/views/venue/containers/venue.new'
import VenueIndex from 'app/views/venue/containers/venue.index'
import ProjectIndex from './containers/project.index'
import ProjectNew from './containers/project.new'
import ProjectEdit from './containers/project.edit'

export default class Container extends Component {
  render() {
    return (
      <div className='projectContainer'>
        <Route exact path='/project/:project_id/new-episode/' component={EpisodeNew} />
        <Route exact path='/project/:project_id/new-venue/' component={VenueNew} />
        <Route exact path='/project/:id/venues/' component={VenueIndex} />
        <Route exact path='/project/:id/edit/' component={ProjectEdit} />
        <Route exact path='/project/new/' component={ProjectNew} />
        <Route exact path='/project/' component={ProjectIndex} />
      </div>
    )
  }
}
/*
        <Route exact path='/project/:id/show/' component={ProjectShow} />
 */