Skip to content

Commit

Permalink
fix: typo in lodash template
Browse files Browse the repository at this point in the history
  • Loading branch information
breakingrobot authored and pi0 committed Jan 26, 2018
1 parent 952700c commit eac33d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/templates/auth.middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ middleware.auth = function(context) {
return r(guestRoute)
}

if (<% options.redirect.user %> && s.getters['auth/loggedIn'] && authRoute !== p) {
if (<%= options.redirect.user %> && s.getters['auth/loggedIn'] && authRoute !== p) {
return r(authRoute)
}
}
Expand Down

0 comments on commit eac33d2

Please sign in to comment.