Skip to content

Commit bda7f41

Browse files
committed
fix project discussions rotue
1 parent ff1a893 commit bda7f41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/projects/routes.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const ProjectDetailWithAuth = withProps({ main:
2929
<Route exact path="/projects/:projectId" render={() => <ProjectDetail><Dashboard /></ProjectDetail>} />
3030
<Route path="/projects/:projectId/status/:statusId" render={() => <ProjectDetail><Dashboard /></ProjectDetail>} />
3131
<Route path="/projects/:projectId/specification" render={() => <ProjectDetail><SpecificationContainer /></ProjectDetail>} />
32-
<Route path="/projects/:projectId/discussions(/:discussionId)" render={() => <ProjectDetail><ProjectMessages /></ProjectDetail>} />
32+
<Route path="/projects/:projectId/discussions/:discussionId?" render={() => <ProjectDetail><ProjectMessages /></ProjectDetail>} />
3333
</Switch>
3434
})(ProjectLayoutWithAuth)
3535

0 commit comments

Comments
 (0)