Skip to content

Commit

Permalink
fix(Guards): Passing guards no longer remove terminal status
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeRyanDev authored and brandonroberts committed Apr 4, 2016
1 parent fc048a4 commit 14d0d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/guard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const guardMiddleware = createMiddleware(function(injector: Injector) {
.every(value => !!value)
.map(passed => {
if ( passed ) {
return { route, params };
return { route, params, isTerminal };
}

return { route: null, params, isTerminal };
Expand Down

0 comments on commit 14d0d46

Please sign in to comment.