Closed clayrisser closed 7 years ago
I'm using Waterline with Mongo, and Express for the server
Ok, I figured it out. Policies are configured in the policies config file. This is not how you have it documented on the trailsjs website.
Proposed fix to the documentation
Closing this. The doc examples are currently written for Hapi and this is an Express issue. I will link to this issue with proposed changes to include Express documentation.
Ah, that makes sense. Where will the express documentation go?
Issue Description
When I add a policy to the routes config it throws the following error. Config
Error
Environment