You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 29, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 29, 2026. It is now read-only.
I'm relatively new to an angular and I have absolutely fell in love with this generator. I do have a question. How would I go about adding another clientside route that requires authentication? Could this be added to the "yo angular-fullstack:route" command? Thanks!
After running that generator command to create that new route you need to edit the routename.js file and add the following key to the options object on the route.
Activity
m4tta commentedon Jul 5, 2014
After running that generator command to create that new route you need to edit the routename.js file and add the following key to the options object on the route.
so you end up with something like this
ensure you are also protecting your server side routes too using the auth middleware.
jonnadams commentedon Jul 5, 2014
Perfect Thanks!