From a75dfdc9b8b748d6cace683cf8d8a2bd3d9ad729 Mon Sep 17 00:00:00 2001
From: Fernando Erd <fce15@inf.ufpr.br>
Date: Mon, 24 Apr 2017 10:46:51 -0300
Subject: [PATCH] Add route library in school.js

---
 src/libs/routes/school.js | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/libs/routes/school.js b/src/libs/routes/school.js
index 0c35609f..9ca64a2a 100644
--- a/src/libs/routes/school.js
+++ b/src/libs/routes/school.js
@@ -64,6 +64,14 @@ schoolApp.get('/building_school', (req, res, next) => {
     next();
 }, response('building_school'));
 
+schoolApp.get('/library', (req, res, next) => {
+    req.result = [
+        {id: 0, name: 'Não'},
+        {id: 1, name: 'Sim'}
+    ];
+    next();
+}, response('library'));
+
 schoolApp.get('/informatics_lab', (req, res, next) => {
     req.result = [
         {id: 0, name: 'Não'},
-- 
GitLab