<commit_before>import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

// SLIDES COMPONENTS
import { SlidesPresentationComponent, SlidesCreatorComponent, SlidesListComponent, SlidesEditorComponent,SlidesManagerComponent} from '.';

import { Auth } from 'app/users';


const slidesRoutes: Routes = [{
    path: 'manager',
    component: SlidesManagerComponent,
    canActivate: [Auth],
    data: {
        roles: ['*'],
        title: 'slides Manager'
    },
},
    {
        path: 'createSlides',
        component: SlidesCreatorComponent,
        data: { title: 'Slides Creator' }
    },
    {
        path: 'slidesPresentation/:id',
        component: SlidesPresentationComponent,
        data: { title: 'Presentation' }
    },
    {
        path: 'slides/:id',
        component: SlidesEditorComponent,
        data: {
            roles: ['user'],
            title: 'Slides Editor'
        }
    }
];

@NgModule({
    imports: [
        RouterModule.forChild(slidesRoutes)
    ],
    exports: [<commit_msg>fix page not found error in slides module<commit_after>import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

// SLIDES COMPONENTS
import { SlidesPresentationComponent, SlidesCreatorComponent, SlidesListComponent, SlidesEditorComponent,SlidesManagerComponent} from '.';

import { Auth } from 'app/users';


const slidesRoutes: Routes = [{
    path: 'manager',
    component: SlidesManagerComponent,
    canActivate: [Auth],
    data: {
        roles: ['*'],
        title: 'slides Manager'
    },
},
    {
        path: 'manager/createSlides',
        component: SlidesCreatorComponent,
        data: { title: 'Slides Creator' }
    },
    {
        path: 'manager/slidesPresentation/:id',
        component: SlidesPresentationComponent,
        data: { title: 'Presentation' }
    },
    {
        path: 'manager/slides/:id',
        component: SlidesEditorComponent,
        data: {
            roles: ['user'],
            title: 'Slides Editor'
        }
    }
];

@NgModule({
    imports: [
        RouterModule.forChild(slidesRoutes)
    ],
    exports: [
{'fraction_non_alphanumeric': 0.12557924003707135, 'fraction_numerical': 0.0, 'mean_word_length': 2.6285714285714286, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5989574', 'n_tokens_mistral': 648, 'n_tokens_neox': 650, 'n_words': 135}