From b91bb0a133aa3d0400beb359fed4e641c888ab26 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Mon, 31 Oct 2022 22:40:42 +0100 Subject: Added logout route, and a way to display the logout menu item on relevant pages --- controllers/play.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 controllers/play.js (limited to 'controllers/play.js') diff --git a/controllers/play.js b/controllers/play.js new file mode 100644 index 0000000..c00d15d --- /dev/null +++ b/controllers/play.js @@ -0,0 +1,9 @@ +function makeController(req, cwdata) { + return { + title: "Jouer", + user: req.session.user, + CWDATA: cwdata, + }; +} + +export default makeController; -- cgit v1.2.3