Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Clients/Angular/finki-chattery/src/app/modules/questioning/questioning.routes.ts

    ra3b5f34 rd2b1fa6  
    55import { QuestionsPreviewGeneralComponent } from './components/questions-preview-general/questions-preview-general.component';
    66import { QuestionsSearchComponent } from './components/questions-search/questions-search.component';
     7import { AuthorizedStudentGuard } from 'src/app/core/guards/authorized-student.guard';
     8import { AskQuestionComponent } from './components/ask-question/ask-question.component';
    79
    810const routes: Routes = [
     
    2224      },
    2325      {
     26        path: 'ask',
     27        pathMatch: 'full',
     28        component: AskQuestionComponent,
     29        canActivate: [AuthorizedStudentGuard]
     30      },
     31      {
    2432        path: ':questionUid',
    2533        component: QuestionPreviewGeneralComponent
Note: See TracChangeset for help on using the changeset viewer.