From a0a174541e889e05de98a517b5c81f47c7f741c4 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 28 Oct 2018 18:12:48 -0400 Subject: [PATCH] add view and route --- config/routes.js | 3 ++ views/layouts/layout.ejs | 111 +-------------------------------------- 2 files changed, 4 insertions(+), 110 deletions(-) diff --git a/config/routes.js b/config/routes.js index 6dd624b..ec3b8b6 100644 --- a/config/routes.js +++ b/config/routes.js @@ -25,6 +25,9 @@ module.exports.routes = { '/': { view: 'pages/homepage' }, + '/login': { + view: 'pages/login' + }, /*************************************************************************** * * diff --git a/views/layouts/layout.ejs b/views/layouts/layout.ejs index f9b3405..45165c7 100644 --- a/views/layouts/layout.ejs +++ b/views/layouts/layout.ejs @@ -1,110 +1 @@ - - - - New Sails App - - - - - - - - - - - - - - <%- body %> - - - - - - - - - - - - - - - - - - - - +<%- body %>