change column name from 'place' to 'municipality'

This commit is contained in:
Bilal Catic
2019-05-16 23:32:18 +02:00
parent 1542310a81
commit 42505a7089
8 changed files with 81 additions and 62 deletions

View File

@@ -1,7 +1,7 @@
const welcome = require('./app/controllers/welcome').getWelcome;
const { getRealEstateTypes, postRealEstateTypes} = require('./app/controllers/realEstateTypes');
const { getCity, postCity } = require('./app/controllers/cities');
const { getNeighborhood, postgNeighborhood } = require('./app/controllers/neighborhoods');
const { getMunicipality, postMunicipality } = require('./app/controllers/municipalities');
let express = require("express");
const path = require("path");
@@ -118,8 +118,8 @@ app.post('/vrstanekretnine', postRealEstateTypes);
app.get('/grad/:request_id', getCity);
app.post('/grad/:request_id', postCity);
app.get('/mjesto/:request_id', getNeighborhood);
app.post('/mjesto/:request_id', postgNeighborhood);
app.get('/mjesto/:request_id', getMunicipality);
app.post('/mjesto/:request_id', postMunicipality);
app.use('/assets', express.static('./app/public'));