strongloop / loopback-example-access-control

An example demonstrating LoopBack access control mechanisms.
Other
370 stars 168 forks source link

Fix typo in sample-models.js #72

Closed cxong closed 8 years ago

cxong commented 8 years ago

User model should be capitalised (app.models.User)

slnode commented 8 years ago

Can one of the admins verify this patch? To accept patch and trigger a build add comment ".ok\W+to\W+test."

superkhau commented 8 years ago

@cxong No, it shouldn't. If you go through the tutorial, it will say you need to create a lowercase user model. You're extending the built-in User model with user.

superkhau commented 8 years ago

@cxong Thanks for the contribution though. ;)