This repository has been archived on 2018-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
2016-02-19 16:17:59 -05:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
'/': {
|
2016-02-24 14:09:22 -05:00
|
|
|
get: (req, res) => {
|
2016-02-25 20:54:23 -05:00
|
|
|
res.render('admin-edit', {
|
|
|
|
title: 'Edit page',
|
|
|
|
theme: 'github-gist',
|
|
|
|
});
|
2016-02-24 14:09:22 -05:00
|
|
|
},
|
2016-02-19 16:17:59 -05:00
|
|
|
},
|
2016-02-24 14:09:22 -05:00
|
|
|
|
2016-02-19 16:17:59 -05:00
|
|
|
'/login': {
|
2016-02-24 14:09:22 -05:00
|
|
|
get: (req, res) => {
|
|
|
|
|
|
|
|
},
|
2016-02-19 16:17:59 -05:00
|
|
|
|
2016-02-24 14:09:22 -05:00
|
|
|
post: (req, res) => {
|
|
|
|
|
|
|
|
},
|
2016-02-19 16:17:59 -05:00
|
|
|
},
|
2016-02-24 14:09:22 -05:00
|
|
|
|
2016-02-19 16:17:59 -05:00
|
|
|
'/logout': {
|
2016-02-24 14:09:22 -05:00
|
|
|
get: (req, res) => {
|
2016-02-19 16:17:59 -05:00
|
|
|
|
2016-02-24 14:09:22 -05:00
|
|
|
},
|
2016-02-19 16:17:59 -05:00
|
|
|
},
|
2016-06-14 10:51:48 -04:00
|
|
|
|
|
|
|
'/user/list': {
|
|
|
|
get: (req, res) => {
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
'/user/edit': {
|
|
|
|
get: (req, res) => {
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
post: (req, res) => {
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
'/user/add': {
|
|
|
|
get: (req, res) => {
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
post: (req, res) => {
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
2016-02-19 16:17:59 -05:00
|
|
|
};
|