Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get list of routes in sailsjs including blueprints and custom routes

I am newbie sailsjs. I would like to know how to list out all the routes including blueprints and custom routes in the form of JSON.

like image 476
Sunny Dyal Avatar asked Mar 04 '15 08:03

Sunny Dyal


1 Answers

sails.config.routes will get you your defined routes. Currently there is a github issue to collect the rest

https://github.com/balderdashy/sails/pull/2659#issuecomment-77417170

like image 118
Meeker Avatar answered Nov 13 '22 08:11

Meeker