From ddabc4286118419280520c430adaf6d7f49ff9ca Mon Sep 17 00:00:00 2001
From: Dessalines <tyhou13@gmx.com>
Date: Sat, 20 Apr 2019 12:42:52 -0700
Subject: Adding support for an /all route

- Fixes #85
---
 ui/src/index.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'ui/src/index.tsx')

diff --git a/ui/src/index.tsx b/ui/src/index.tsx
index 677d7678..716684de 100644
--- a/ui/src/index.tsx
+++ b/ui/src/index.tsx
@@ -37,6 +37,7 @@ class Index extends Component<any, any> {
         <Navbar />
         <div class="mt-3 p-0">
           <Switch>
+            <Route exact path="/all" component={Home} />
             <Route exact path="/" component={Home} />
             <Route path={`/login`} component={Login} />
             <Route path={`/create_post`} component={CreatePost} />
-- 
cgit v1.2.3

