Skip to content

Commit

Permalink
Update router.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
tyboro2002 authored Apr 18, 2024
1 parent 028851b commit 80f7d1d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/src/router/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import DashboardView from '@/views/dashboard/DashboardView.vue';
import CourseView from '@/views/courses/CourseView.vue';
import CreateCourseView from '@/views/courses/CreateCourseView.vue';
import UpdateCourseView from '@/views/courses/UpdateCourseView.vue';
import Dummy from '@/components/Dummy.vue';
import LoginView from '@/views/authentication/LoginView.vue';
import CalendarView from '@/views/calendar/CalendarView.vue';
Expand All @@ -13,7 +14,7 @@ import { AuthenticationGuard } from '@/router/guards/authentication.guard.ts';
import { LogoutGuard } from '@/router/guards/logout.guard.ts';
import ProjectView from '@/views/projects/ProjectView.vue';
import CreateProjectView from '@/views/projects/CreateProjectView.vue';
import UpdateCourseView from '@/views/courses/UpdateCourseView.vue';
import UpdateProjectView from '@/views/projects/UpdateProjectView.vue';
import SearchCourseView from '@/views/courses/SearchCourseView.vue';
import SubmissionView from '@/views/submissions/submissionView.vue';
import SingleProjectView from '@/views/projects/SingleProjectView.vue';
Expand Down Expand Up @@ -60,7 +61,7 @@ const routes: RouteRecordRaw[] = [
path: ':projectId',
children: [
{ path: '', component: SingleProjectView, name: 'course-project' },
{ path: 'edit', component: Dummy, name: 'project-edit' },
{ path: 'edit', component: UpdateProjectView, name: 'project-edit' },
{ path: 'groups', component: Dummy, name: 'project-groups' },
{ path: 'submit', component: Dummy, name: 'project-submit' },
{ path: 'submission', component: SubmissionView, name: 'submission' },
Expand Down

0 comments on commit 80f7d1d

Please sign in to comment.