adapt first step of search request to new DB design

This commit is contained in:
Bilal Catic
2019-09-13 11:08:45 +02:00
parent 3cbd79dcc9
commit 1a874d4d88
3 changed files with 29 additions and 25 deletions

View File

@@ -27,10 +27,10 @@ const { redirect } = require("../controllers/redirect");
const router = express.Router();
router.get("/", welcome);
router.get("/vrstanekretnine/:request_id", getRealEstateTypes);
router.get("/vrstanekretnine", getRealEstateTypes);
router.post("/vrstanekretnine/:request_id", postRealEstateTypes);
router.get("/vrstanekretnine/:searchRequestId", getRealEstateTypes);
router.get("/vrstanekretnine", getRealEstateTypes);
router.post("/vrstanekretnine/:searchRequestId", postRealEstateTypes);
router.post("/vrstanekretnine", postRealEstateTypes);
router.get("/lokacija/:request_id", getLocation);