Closed jbrodriguez closed 8 years ago
Yes that is fine. What I want to do is make the hooks like "beforeEnter" accept an array of functions. In this case you can extract the "isAuthorized" function and just plug it into one of the arrays.
ok, got it ... will look for that change, thanks !
I want to redirect an unauthorized user if he's deep linking into a private path without credentials.
This is working, but I'm wondering if it's the best way to do it.