aboutsummaryrefslogtreecommitdiffstats
path: root/src/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/App.js b/src/App.js
index 28e3a52..bb574c5 100644
--- a/src/App.js
+++ b/src/App.js
@@ -7,7 +7,9 @@ import {
import Login from "./pages/Login";
import Surveys from "./pages/Surveys";
import NewSurvey from "./pages/NewSurvey";
+import Survey from "./pages/Survey";
import SurveyResults from "./pages/SurveyResults";
+import SurveyAnswer from "./pages/SurveyAnswer";
import SurveyAssignees from "./pages/SurveyAssignees";
import Users from "./pages/Users";
import NavBar from "./components/NavBar";
@@ -53,10 +55,18 @@ function routes({ login, logout, isLoggedIn }) {
element: withNavBar(<NewSurvey />),
},
{
+ path: "/surveys/:formId",
+ element: withNavBar(<Survey />),
+ },
+ {
path: "/surveys/:surveyId/results",
element: withNavBar(<SurveyResults />),
},
{
+ path: "/surveys/:surveyId/results/:runId/answer",
+ element: withNavBar(<SurveyAnswer />),
+ },
+ {
path: "/surveys/:surveyId/assignees",
element: withNavBar(<SurveyAssignees />),
},