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

Change route of creators comment buttons to comment-creator-page-component

parent 3c49ba5b
No related merge requests found
<p>
comment-creator-page works!
</p>
<div fxLayout="row" fxLayoutAlign="center">
<app-comment-list></app-comment-list>
</div>
app-comment-list {
width: 100%;
max-width: 800px;
}
......@@ -6,11 +6,11 @@ import { UserRole } from '../../models/user-roles.enum';
import { RoomCreatorPageComponent } from './room-creator-page/room-creator-page.component';
import { ContentCreatePageComponent } from './content-create-page/content-create-page.component';
import { StatisticsPageComponent } from '../shared/statistics-page/statistics-page.component';
import { CommentListComponent } from '../shared/comment-list/comment-list.component';
import { FeedbackBarometerPageComponent } from '../shared/feedback-barometer-page/feedback-barometer-page.component';
import { ContentListComponent } from './content-list/content-list.component';
import { StatisticComponent } from '../shared/statistic/statistic.component';
import { ContentPresentationComponent } from './content-presentation/content-presentation.component';
import { CommentCreatorPageComponent } from './comment-creator-page/comment-creator-page.component';
const routes: Routes = [
{
......@@ -45,7 +45,7 @@ const routes: Routes = [
},
{
path: 'room/:roomId/comments',
component: CommentListComponent,
component: CommentCreatorPageComponent,
canActivate: [AuthenticationGuard],
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