Handle nav-bar

This commit is contained in:
Nedim Uka
2019-07-11 14:25:38 +02:00
parent e305c547e1
commit a6bd63b7b8
27 changed files with 84 additions and 69 deletions

View File

@@ -5,7 +5,8 @@ const { realEstateTypes, getRealEstateTypeEnum } = require('../helpers/enums');
const getRealEstateTypes = (req,res) => {
res.render('realEstateType', { realEstateTypes });
const title = "Koju nekretninu tražite?"
res.render('realEstateType', { realEstateTypes, title });
};
const postRealEstateTypes = async (req, res) => {