wrong hook name
Opened this issue · 1 comments
KirillSuhodolov commented
When running application get error from this place https://github.com/tjwebb/sails-permissions/blob/f2d174b1283a4f07aabe4702ca7a3d416701101e/api/hooks/permissions/index.js#L100
There is no hook permissions( this.sails.hooks.permissions) , but exists 'sails-permission' (this.sails.hooks['sails-permissions'])