Skip to content

Commit

Permalink
fix(guard): Fixed guard in lib export
Browse files Browse the repository at this point in the history
Closes #71
  • Loading branch information
Brandon Roberts committed Apr 25, 2016
1 parent eeb11ef commit e10d6f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function provideRouter(routes: Routes) {
}


export { Guard, createGuard } from './guard';
export { Guard, provideGuard } from './guard';
export { LocationChange, Router } from './router';
export { Middleware, createMiddleware } from './middleware';
export { RouteParams, QueryParams } from './params';
Expand Down
2 changes: 1 addition & 1 deletion spec/link-active.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe('Link Active', () => {
});
}));

iit('should add a default class to the active element if not provided', injectAsync([TestComponentBuilder, Router], (tcb, router$) => {
it('should add a default class to the active element if not provided', injectAsync([TestComponentBuilder, Router], (tcb, router$) => {
router$.next({
path: '/page'
});
Expand Down

0 comments on commit e10d6f1

Please sign in to comment.