Some cleaning 😢
This commit is contained in:
7
server/controllers/list/index.js
Normal file
7
server/controllers/list/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
module.exports.index = function(req, res) {
|
||||
res.setHeader('Content-Type', 'text/html');
|
||||
|
||||
res.render('index.jade', res.locals, function(err, out) {
|
||||
res.send(out);
|
||||
});
|
||||
};
|
||||
3
server/controllers/list/urls.js
Normal file
3
server/controllers/list/urls.js
Normal file
@@ -0,0 +1,3 @@
|
||||
module.exports = {
|
||||
'/list': 'index'
|
||||
};
|
||||
10
server/controllers/list/views/index.jade
Normal file
10
server/controllers/list/views/index.jade
Normal file
@@ -0,0 +1,10 @@
|
||||
extends ../../../views/main
|
||||
|
||||
block title
|
||||
title #{title} - Test
|
||||
|
||||
block extrajs
|
||||
script(src='/static/js/ListTest.min.js')
|
||||
|
||||
block content
|
||||
Hello
|
||||
Reference in New Issue
Block a user