SHARE
TWEET

index.js

a guest Mar 20th, 2017 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 'use strict';
  2. var express = require('express');
  3. var handlebars = require('handlebars');
  4. var router = express.Router();
  5.  
  6. /* GET home page. */
  7. router.get('/', function (req, res) {
  8.     res.render('index', { title: 'handlebars' });
  9. });
  10.  
  11. module.exports = router;
RAW Paste Data
Top