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.
ProgBlog/app/controllers/admin.js

28 lines
289 B
JavaScript

'use strict';
module.exports = {
'/': {
get: (req, res) => {
res.render('admin-edit', {
title: 'Edit page',
theme: 'github-gist',
});
},
},
'/login': {
get: (req, res) => {
},
post: (req, res) => {
},
},
'/logout': {
get: (req, res) => {
},
},
};