Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-07-19 02:09:38 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
68e9ad4a4881361940e44e183ce01b0ea9996c1f
68e9ad4a
1 parent
42fb1a92
add forum route
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
front/src/Routes/Router.js
front/src/Routes/Router.js
View file @
68e9ad4
...
...
@@ -5,6 +5,7 @@ import Auth from "./Auth/AuthContainer";
import
About
from
"./About"
;
import
RoomList
from
"./Room/RoomContainer"
;
import
Main
from
"./MainPresenter"
;
import
Forum
from
"./Forum/ForumPresenter"
;
const
LoggedInRoutes
=
()
=>
(
<
Switch
>
...
...
@@ -17,7 +18,7 @@ const LoggedOutRoutes = () => (
<
Route
exact
path
=
"/"
component
=
{
Main
}
/
>
<
Route
path
=
"/about"
component
=
{
About
}
/
>
<
Route
path
=
"/auth"
component
=
{
Auth
}
/
>
<
Route
path
=
"/forum"
component
=
{
Main
}
/
>
<
Route
path
=
"/forum"
component
=
{
Forum
}
/
>
<
Route
path
=
"/features"
component
=
{
Main
}
/
>
<
Route
path
=
"/support"
component
=
{
Main
}
/
>
<
/Switch
>
...
...
Please
register
or
login
to post a comment