Skip to content
Snippets Groups Projects
Commit 8dbfcde5 authored by Lukas Mauß's avatar Lukas Mauß
Browse files

Fix routes for lazy-loaded creator pages

parent bf7e0393
No related merge requests found
...@@ -37,25 +37,25 @@ const routes: Routes = [ ...@@ -37,25 +37,25 @@ const routes: Routes = [
data: { roles: [UserRole.CREATOR] } data: { roles: [UserRole.CREATOR] }
}, },
{ {
path: 'creator/room/:roomId/comments', path: 'room/:roomId/comments',
component: CommentListComponent, component: CommentListComponent,
canActivate: [AuthenticationGuard], canActivate: [AuthenticationGuard],
data: { roles: [UserRole.CREATOR] } data: { roles: [UserRole.CREATOR] }
}, },
{ {
path: 'creator/room/:roomId/feedback-barometer', path: 'room/:roomId/feedback-barometer',
component: FeedbackBarometerPageComponent, component: FeedbackBarometerPageComponent,
canActivate: [AuthenticationGuard], canActivate: [AuthenticationGuard],
data: { roles: [UserRole.CREATOR] } data: { roles: [UserRole.CREATOR] }
}, },
{ {
path: 'creator/room/:roomId/contents', path: 'room/:roomId/contents',
component: CreatorContentCarouselPageComponent, component: CreatorContentCarouselPageComponent,
canActivate: [AuthenticationGuard], canActivate: [AuthenticationGuard],
data: { roles: [UserRole.CREATOR] } data: { roles: [UserRole.CREATOR] }
}, },
{ {
path: 'creator/room/:roomId/:contentGroup', path: 'room/:roomId/:contentGroup',
component: ContentListComponent, component: ContentListComponent,
canActivate: [AuthenticationGuard], canActivate: [AuthenticationGuard],
data: { roles: [UserRole.CREATOR] } data: { roles: [UserRole.CREATOR] }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment