export class SlidesRoutes {
  static get(Component: any) {
    return [
      {path: `:id`, component: Component},
      {path: `**`, component: Component}
    ];
  }
}

export class SlidesRoutes {
  static get(Component: any) {
    return [
      {path: '', redirectTo: '0', pathMatch: 'full'},
      {path: ':id', component: Component},
      {path: '**', component: Component},
    ];
  }
}

Add a smart redirect to get rid of having /0 in the end of URLs
Add a smart redirect to get rid of having /0 in the end of URLs
