You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Fipamo/brain/routes/front/index.js

18 lines
525 B
JavaScript

var express = require('express');
var router = express.Router();
//var Models = require('../../models');
var config = require('../../../config/site-settings.json');
module.exports = function() {
//--------------------------
// Index
//--------------------------
router.get('/:page?', function(req, res) {
res.render(config.theme + '/index', {
theme: config.theme,
title: config.title,
user_status: 'What up, random person'
});
});
return router;
};