Skip to content

Commit

Permalink
Make v2 is default
Browse files Browse the repository at this point in the history
  • Loading branch information
venkykandagaddala committed Aug 1, 2024
1 parent 26303a1 commit 1338096
Showing 1 changed file with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { NgModule } from '@angular/core'
import { Routes, RouterModule } from '@angular/router'
import { KarmaProgramsFormV1Service } from './service/karma-programs-form-v1.service'
// import { KarmaProgramsFormV1Service } from './service/karma-programs-form-v1.service'
import { KarmaProgramsComponent } from './karma-programs/karma-programs.component'
import { KarmaProgramsMicrositeV1Component } from './karma-programs-microsite-v1/karma-programs-microsite-v1.component'
// import { KarmaProgramsMicrositeV1Component } from './karma-programs-microsite-v1/karma-programs-microsite-v1.component'
import { KarmaProgramDataService } from './service/karma-program-data.service'
import { KarmaProgramsMicrositeV2Component } from './karma-programs-microsite-v2/karma-programs-microsite-v2.component'
import { KarmaProgramsFormV2Service } from './service/karma-programs-form-v2.service.'
Expand All @@ -24,19 +24,19 @@ const routes: Routes = [
programData: KarmaProgramDataService,
},
},
// {
// path: ':programName/:playListKey/:orgId/micro-sites',
// component: KarmaProgramsMicrositeV1Component,
// data: {
// pageId: ':programName/:playListKey/:orgId/micro-sites',
// module: 'Learn',
// },
// resolve: {
// formData: KarmaProgramsFormV1Service,
// },
// },
{
path: ':programName/:playListKey/:orgId/micro-sites',
component: KarmaProgramsMicrositeV1Component,
data: {
pageId: ':programName/:playListKey/:orgId/micro-sites',
module: 'Learn',
},
resolve: {
formData: KarmaProgramsFormV1Service,
},
},
{
path: ':programName/:playListKey/:orgId/micro-sites/v2',
component: KarmaProgramsMicrositeV2Component,
data: {
pageId: ':programName/:playListKey/:orgId/micro-sites',
Expand Down

0 comments on commit 1338096

Please sign in to comment.