Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (38 sloc) 556 Bytes
/**
* Definition of the routes used by the app
*
**/
/**
exports.routes = [
{
route: '/doc/:start?/:limit?',
method: 'GET',
handlerCls: 'Next.route.doc'
},
{
route: '/doc/count',
method: 'GET',
handlerCls: 'Next.route.doc'
},
{
route: '/doc',
method: 'POST',
handlerCls: 'Next.route.doc'
},
{
route: '/doc/:id',
method: 'GET',
handlerCls: 'Next.route.doc'
},
{
route: '/doc/:id',
method: 'PUT',
handlerCls: 'Next.route.doc'
},
{
route: '/doc/:id',
method: 'DELETE',
handlerCls: 'Next.route.doc'
}
];
**/