Thank you for the feedback!
At the time of this article, I was relying on Sails' Documentation, which currently takes us to a dead link. So it could be that it's changed. I've posted a comment with the updates
Thank you again!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
sails generate policy isAuthenticated
When i tried the above command, i got the following error:
error: No generator called
policy
found.Did you mean
sails generate api policy
?Tip: Want to use a custom or community generator?
Add it to your app's .sailsrc file under
modules
:You can use a relative path:
Or the name of an NPM package:
For help, see:
sailsjs.com/docs/concepts/extendin...
Thank you for the feedback!
At the time of this article, I was relying on Sails' Documentation, which currently takes us to a dead link. So it could be that it's changed. I've posted a comment with the updates
Thank you again!