-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Us2 admin projects #32
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ class UrlSet extends Component{ | |
<Route path="/student/projects/:project_id/groups/:group_id" exact strict component={StudentGroup}/> | ||
<Route path="/admin/home" exact strict component={AdminMainMenu}/> | ||
<Route path="/admin/notifications" exact strict component={AdminNotification}/> | ||
<Route path="/admin/projects/new" exact strict component={AdminCreateProject}/> | ||
<Route path="/admin/projects/create/new" exact strict component={AdminCreateProject}/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is not a restful route https://restfulapi.net/resource-naming/ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I know, but the question is that since we set the project route : /admin/projects/:project_id |
||
<Route path="/admin/projects/:project_id" exact strict component={AdminProject}/> | ||
<Route path="/admin/projects/:project_id/groups/create" exact strict component={AdminCreateGroup}/> | ||
<Route path="/admin/projects/:project_id/add_student" exact strict component={AdminProjectAddStudents}/> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This backend route does not exist, you currently cannot update a project via the front end