diff --git a/index.js b/index.js index a54d159..a88e229 100644 --- a/index.js +++ b/index.js @@ -4,6 +4,7 @@ var kraken = require('kraken-js'), db = require('./lib/database'), language = require('./lib/language'), + express = require('express'), app = {}; @@ -22,6 +23,7 @@ app.requestStart = function requestStart(server) { app.requestBeforeRoute = function requestBeforeRoute(server) { // Fired before routing occurs + server.use(express.methodOverride()); server.use(language()); };