summaryrefslogtreecommitdiffstats
path: root/ui/src/index.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-05-08 09:07:34 -0700
committerDessalines <tyhou13@gmx.com>2019-05-08 09:07:34 -0700
commit73a129a24d846b387357336bec7b5c8b09c5a6ba (patch)
tree993120477c3eee8269ecdd52f8f6ab121f4c24f8 /ui/src/index.tsx
parent780817840f718500063579056081cfc1526f16bb (diff)
Adding create community and post buttons from sidebar.
- Fixes #148
Diffstat (limited to 'ui/src/index.tsx')
-rw-r--r--ui/src/index.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/src/index.tsx b/ui/src/index.tsx
index b744ac7d..04160a9f 100644
--- a/ui/src/index.tsx
+++ b/ui/src/index.tsx
@@ -41,6 +41,7 @@ class Index extends Component<any, any> {
<Route path={`/home/type/:type/sort/:sort/page/:page`} component={Main} />
<Route exact path={`/`} component={Main} />
<Route path={`/login`} component={Login} />
+ <Route path={`/create_post/c/:name`} component={CreatePost} />
<Route path={`/create_post`} component={CreatePost} />
<Route path={`/create_community`} component={CreateCommunity} />
<Route path={`/communities/page/:page`} component={Communities} />