diff --git a/app/routes/index.js b/app/routes/index.js index bba7973..6940323 100644 --- a/app/routes/index.js +++ b/app/routes/index.js @@ -33,29 +33,29 @@ router.get("/vrstanekretnine", getRealEstateTypes); router.post("/vrstanekretnine/:searchRequestId", postRealEstateTypes); router.post("/vrstanekretnine", postRealEstateTypes); -router.get("/lokacija/:request_id", getLocation); -router.post("/lokacija/:request_id", postLocation); +router.get("/lokacija/:searchRequestId", getLocation); +router.post("/lokacija/:searchRequestId", postLocation); -router.get("/povrsina/:request_id", getSize); -router.post("/povrsina/:request_id", postSize); +router.get("/povrsina/:searchRequestId", getSize); +router.post("/povrsina/:searchRequestId", postSize); -router.get("/okucnica/:request_id", getGardenSize); -router.post("/okucnica/:request_id", postGardenSize); +router.get("/okucnica/:searchRequestId", getGardenSize); +router.post("/okucnica/:searchRequestId", postGardenSize); -router.get("/cijena/:request_id", getPrice); -router.post("/cijena/:request_id", postPrice); +router.get("/cijena/:searchRequestId", getPrice); +router.post("/cijena/:searchRequestId", postPrice); -router.get("/pregled/:request_id", getQueryReview); -router.post("/pregled/:request_id", postQueryReview); +router.get("/pregled/:searchRequestId", getQueryReview); +router.post("/pregled/:searchRequestId", postQueryReview); -router.get("/posalji/:request_id", getQuerySubmit); -router.post("/posalji/:request_id", postQuerySubmit); +router.get("/posalji/:searchRequestId", getQuerySubmit); +router.post("/posalji/:searchRequestId", postQuerySubmit); -router.get("/odjava/:request_id", getUnsubscribe); +router.get("/odjava/:searchRequestId", getUnsubscribe); router.get("/ponovo", getGoAgain); -router.get("/nekretnine/:request_id", getRealEstates); +router.get("/nekretnine/:searchRequestId", getRealEstates); router.get("/redirect/:id", redirect);