forked from UKSOURCE/cms.hailearning.edu.vn
Merge branch 'main' of https://gits.techvanguard.vn/UKSOURCE/cms.hailearning.edu.vn into hoanganh-03022026-appointment-contact-pricing
This commit is contained in:
@@ -58,8 +58,9 @@ router.get("/api/header-menu", headerMenuController.api);
|
||||
router.get("/api/social-links", socialLinkController.index);
|
||||
router.get("/api/social-links/:platform", socialLinkController.show);
|
||||
|
||||
// Footer API route
|
||||
router.get("/api/footer", footerController.api);
|
||||
// Footer API routes
|
||||
router.get("/api/footer", footerController.getFooter);
|
||||
router.put("/api/admin/footer", footerController.updateFooter);
|
||||
|
||||
// Contact API route
|
||||
router.get("/api/contact", contactController.api);
|
||||
@@ -182,6 +183,13 @@ router.get("/api/testimonials", testimonialController.api);
|
||||
// Video Gallery API
|
||||
const videoGalleryController = require("../controllers/videoGalleryController");
|
||||
router.get("/api/video-gallery", videoGalleryController.api);
|
||||
// Test route for footer
|
||||
router.get("/test-footer", (req, res) => {
|
||||
res.render("test-footer", {
|
||||
title: "Footer Test",
|
||||
layout: "layouts/main",
|
||||
});
|
||||
});
|
||||
|
||||
module.exports = router;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user