Skip to content
Snippets Groups Projects
Commit a1e89273 authored by Fernando Erd's avatar Fernando Erd :ok_hand:
Browse files

Add some aux routes

parent d7fec07b
No related branches found
No related tags found
2 merge requests!116Release v1.0.0,!47School number count
Pipeline #
...@@ -48,6 +48,22 @@ schoolApp.get('/agreement', (req, res, next) => { ...@@ -48,6 +48,22 @@ schoolApp.get('/agreement', (req, res, next) => {
next(); next();
}, response('agreement')); }, response('agreement'));
schoolApp.get('/cook_room', (req, res, next) => {
req.result = [
{id: 0, name: 'Não'},
{id: 1, name: 'Sim'}
];
next();
}, response('cook_room'));
schoolApp.get('/government_agreement', (req, res, next) => {
req.result = [
{id: 0, name: 'Não'},
{id: 1, name: 'Sim'}
];
next();
}, response('government_agreement'));
rqf.addField({ rqf.addField({
name: 'filter', name: 'filter',
field: false, field: false,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment