@@ -32,7 +32,7 @@ const appRoutes: any = [
3232 { path : 'lineargauge' , loadChildren : LinearGaugeSampleModule } ,
3333 { path : 'grid' , loadChildren : GridSampleModule } ,
3434 { path : 'form-validator' , loadChildren : FormValidatorModule } ,
35- { path : 'Button ' , loadChildren : ButtonModule } ,
35+ { path : 'button ' , loadChildren : ButtonModule } ,
3636 { path : 'dropdownlist' , loadChildren : DropDownListSampleModule } ,
3737 { path : 'combobox' , loadChildren : ComboBoxSampleModule } ,
3838 { path : 'autocomplete' , loadChildren : AutoCompleteSampleModule } ,
@@ -51,6 +51,8 @@ const appRoutes: any = [
5151 { path : 'maskedtextbox' , loadChildren : MaskedTextBoxSampleModule } ,
5252 { path : 'multiselect' , loadChildren : MultiSelectSampleModule } ,
5353 { path : 'contextmenu' , loadChildren : MenuModule } ,
54+ { path : ':theme/button/:sample' , redirectTo : 'material/button/default' } ,
55+ { path : ':theme/contextmenu/:sample' , redirectTo : 'material/contextmenu/default' } ,
5456 { path : ':theme/tab/:sample' , redirectTo : 'material/tab/default' } ,
5557 { path : '' , redirectTo : 'material/chart/line' , pathMatch : 'full' } ,
5658 { path : '**' , redirectTo : 'material/chart/line' }
0 commit comments