WiP Started kivi original ad view.

This commit is contained in:
Naida Vatric
2020-02-14 13:38:31 +01:00
parent f24abf62b2
commit 16d004c1ab
9 changed files with 233 additions and 7 deletions

View File

@@ -15,6 +15,7 @@ const {
getPublishInputs,
postPublishInputs
} = require("../controllers/publishRealEstate");
const { getViewRealEstate } = require("../controllers/viewRealEstate");
const {
getQueryReview,
postQueryReview
@@ -45,6 +46,8 @@ router.post("/objavinekretninu", postPublishTypes);
router.get("/podacionekretnini/:kiviRealEstateId", getPublishInputs);
router.post("/podacionekretnini/:kiviRealEstateId", postPublishInputs);
router.get("/preglednekretnine/:kiviRealEstateId", getViewRealEstate);
router.get("/lokacija/:searchRequestId", getLocation);
router.post("/lokacija/:searchRequestId", postLocation);