13 lines
206 B
JavaScript
13 lines
206 B
JavaScript
|
|
||
|
/**
|
||
|
* Module dependencies.
|
||
|
*/
|
||
|
|
||
|
var views = require('co-views');
|
||
|
|
||
|
// setup views mapping .html
|
||
|
// to the swig template engine
|
||
|
|
||
|
module.exports = views(__dirname + '/../views', {
|
||
|
map: { html: 'swig' }
|
||
|
});
|