From 4872c4d82c580e21ea4554accfa5d5fb27705737 Mon Sep 17 00:00:00 2001 From: dbroqua Date: Sun, 6 Mar 2022 11:05:58 +0100 Subject: [PATCH] Modification de l'arborescence pour ma collection --- src/routes/ma-collection.js | 2 +- .../mon-compte/{ma-collection.ejs => ma-collection/index.ejs} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename views/pages/mon-compte/{ma-collection.ejs => ma-collection/index.ejs} (100%) diff --git a/src/routes/ma-collection.js b/src/routes/ma-collection.js index 51ff0ee..653c844 100644 --- a/src/routes/ma-collection.js +++ b/src/routes/ma-collection.js @@ -10,7 +10,7 @@ const router = express.Router(); router.route("/").get(ensureLoggedIn("/connexion"), async (req, res, next) => { try { - const page = new Albums(req, "mon-compte/ma-collection"); + const page = new Albums(req, "mon-compte/ma-collection/index"); await page.loadMyCollection(); diff --git a/views/pages/mon-compte/ma-collection.ejs b/views/pages/mon-compte/ma-collection/index.ejs similarity index 100% rename from views/pages/mon-compte/ma-collection.ejs rename to views/pages/mon-compte/ma-collection/index.ejs