Latest changes

This commit is contained in:
Dobie Wollert
2015-07-06 07:09:17 -04:00
parent 0d5ebb3f43
commit 4496b9c240
5 changed files with 48 additions and 5 deletions

View File

@ -23,6 +23,13 @@ module.exports = function(app, auth, piler, calendar, directory, config) {
piler.addJsFile("/js/filters.js");
piler.addJsFile("/js/services.js");
app.get('/crash', function(req, res) {
console.log('Commiting Suicide for Science!');
process.nextTick(function() {
throw new Error("Ermergerd!");
});
});
app.all('/api/*', auth.requiresApiAccess);
var posts = require('../app/controllers/posts');