Hook request.options

11 views
Skip to first unread message

Orhan KUTLU

unread,
Sep 18, 2016, 1:05:53 PM9/18/16
to sails.js
Hi all,

I would like to get controller and action name from sails hook. How can I do it? I have tried request.options but I can't see controller and action name there. I am trying to do it at routes.before. 

I have attached the code snippet as an screen shot.

Any help will be appreciated, 

Thank you!


Screen Shot 2016-09-18 at 20.03.58.png
Reply all
Reply to author
Forward
0 new messages