diegopamio / angular-sails-bind

An angular service to bind scope models to sailsjs models thru socket
MIT License
136 stars 25 forks source link

Use proper sails blueprint rest routes rather than shortcut routes #25

Closed nhahn closed 9 years ago

nhahn commented 9 years ago

Currently, the routes used are the blueprint routes generated by the config option for shortcuts, rather than the routes generated from the config option for REST. The REST routes are a little bit more standard / secure, and the behavior is more consistent when using them.

So for the create/update/and delete actions done, these routes and verbs should be updated appropriately.

diegopamio commented 9 years ago

Totally agree!, thanks for the pull request, I'll merge it right away.