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-21 16:45:34 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
68a4365c81f2364980cfdeff47f97561f25318a1
68a4365c
1 parent
718e872d
add news route
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
front/src/Routes/Router.js
front/src/Routes/Router.js
View file @
68a4365
...
...
@@ -7,6 +7,7 @@ import RoomList from "./Room/RoomContainer";
import
Main
from
"./MainPresenter"
;
import
Forum
from
"./Forum/ForumPresenter"
;
import
Features
from
"./Features"
;
import
News
from
"./News"
;
const
LoggedInRoutes
=
()
=>
(
<
Switch
>
...
...
@@ -21,6 +22,7 @@ const LoggedOutRoutes = () => (
<
Route
path
=
"/auth"
component
=
{
Auth
}
/
>
<
Route
path
=
"/forum"
component
=
{
Forum
}
/
>
<
Route
path
=
"/features"
component
=
{
Features
}
/
>
<
Route
path
=
"/news"
component
=
{
News
}
/
>
<
Route
path
=
"/support"
component
=
{
Main
}
/
>
<
/Switch
>
);
...
...
Please
register
or
login
to post a comment