Permalink
Browse files

Step 23.6: Use web version of Login component in routing

  • Loading branch information...
1 parent 3662693 commit 366d0cb19e876fdc20094d7fc9c3335076fc9f14 @dotansimha dotansimha committed with DAB0mB Sep 28, 2016
Showing with 1 addition and 2 deletions.
  1. +1 −2 client/imports/app/app.routes.ts
@@ -5,13 +5,12 @@ import { PartiesListComponent } from './parties/parties-list.component';
import { PartyDetailsComponent } from './parties/party-details.component';
import {SignupComponent} from "./auth/signup.component";
import {RecoverComponent} from "./auth/recover.component";
-import {MobileLoginComponent} from "./auth/login.component.mobile";
import {LoginComponent} from "./auth/login.component.web";
export const routes: Route[] = [
{ path: '', component: PartiesListComponent },
{ path: 'party/:partyId', component: PartyDetailsComponent, canActivate: ['canActivateForLoggedIn'] },
- { path: 'login', component: Meteor.isCordova ? MobileLoginComponent : LoginComponent },
+ { path: 'login', component: LoginComponent },
{ path: 'signup', component: SignupComponent },
{ path: 'recover', component: RecoverComponent }
];

0 comments on commit 366d0cb

Please sign in to comment.