Permalink
Browse files

Step 19.20: Add the login route

  • Loading branch information...
dotansimha authored and DAB0mB committed Sep 27, 2016
1 parent 219d52a commit 82afcba1d5e06ca5534b5c508926c550ea64a8af
Showing with 3 additions and 1 deletion.
  1. +3 −1 client/imports/app/app.routes.ts
@@ -3,10 +3,12 @@ import { Meteor } from 'meteor/meteor';
import { PartiesListComponent } from './parties/parties-list.component';
import { PartyDetailsComponent } from './parties/party-details.component';
import {LoginComponent} from "./auth/login.component";
export const routes: Route[] = [
{ path: '', component: PartiesListComponent },
{ path: 'party/:partyId', component: PartyDetailsComponent, canActivate: ['canActivateForLoggedIn'] }
{ path: 'party/:partyId', component: PartyDetailsComponent, canActivate: ['canActivateForLoggedIn'] },
{ path: 'login', component: LoginComponent }
];
export const ROUTES_PROVIDERS = [{

0 comments on commit 82afcba

Please sign in to comment.