aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/signup/signup-routing.module.ts
blob: 820d16d4d7f7b1af6fae0ba3e30ee0789a66964d (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                      
                                          
                                                    
                                                                                       




                               
                               



                       


                                              

     
 





                                                   
import { NgModule } from '@angular/core'
import { RouterModule, Routes } from '@angular/router'
import { MetaGuard } from '@ngx-meta/core'
import { SignupComponent } from './signup.component'
import { ServerConfigResolver } from '@app/core/routing/server-config-resolver.service'

const signupRoutes: Routes = [
  {
    path: 'signup',
    component: SignupComponent,
    canActivate: [ MetaGuard ],
    data: {
      meta: {
        title: 'Signup'
      }
    },
    resolve: {
      serverConfigLoaded: ServerConfigResolver
    }
  }
]

@NgModule({
  imports: [ RouterModule.forChild(signupRoutes) ],
  exports: [ RouterModule ]
})
export class SignupRoutingModule {}