change file names to CamelCase

This commit is contained in:
Bilal Catic
2019-05-16 19:40:26 +02:00
parent 616eddbb19
commit ab681e5eeb
3 changed files with 19 additions and 19 deletions

View File

@@ -1,5 +1,5 @@
const welcome = require('./app/controllers/welcome').getWelcome;
const { getRealEstateTypes, postRealEstateTypes} = require('./app/controllers/real_estate_types');
const { getRealEstateTypes, postRealEstateTypes} = require('./app/controllers/realEstateTypes');
const { getCity, postCity } = require('./app/controllers/city');
const { getNeighborhood, postgNeighborhood } = require('./app/controllers/neighborhoods');
@@ -108,7 +108,7 @@ app.post("/api/payforalert", function(request, response) {
});
});
app.get('/', welcome);
app.get('/', welcome);
app.get('/vrstanekretnine/:request_id', getRealEstateTypes);
app.get('/vrstanekretnine', getRealEstateTypes);
@@ -122,6 +122,6 @@ app.get('/mjesto/:request_id', getNeighborhood);
app.post('/mjesto/:request_id', postgNeighborhood);
app.use('/assets', express.static('./app/public'))
app.use('/assets', express.static('./app/public'));
app.listen(port, () => console.log(`Example app listening on port ${port}!`));