add query review page

This commit is contained in:
Bilal Catic
2019-05-19 12:29:55 +02:00
parent 2c415bbd79
commit 70ddc1f734
6 changed files with 152 additions and 9 deletions

View File

@@ -5,6 +5,7 @@ const { getMunicipality, postMunicipality } = require('./app/controllers/municip
const { getSize, postSize } = require('./app/controllers/sizes');
const { getGardenSize, postGardenSize } = require('./app/controllers/gardenSizes');
const { getPrice, postPrice } = require('./app/controllers/prices');
const { getQueryReview, postQueryReview } = require('./app/controllers/queryReview');
let express = require("express");
const path = require("path");
@@ -133,6 +134,9 @@ app.post('/okucnica/:request_id', postGardenSize);
app.get('/cijena/:request_id', getPrice);
app.post('/cijena/:request_id', postPrice);
app.get('/pregled/:request_id', getQueryReview);
app.post('/pregled/:request_id', postQueryReview);
app.use('/assets', express.static('./app/public'));