1
0
Fork 0

Fixed sessions app relying on exports from static mount path.

This commit is contained in:
Alan Plum 2014-06-25 17:19:00 +02:00
parent 5767a12bcd
commit 38297b88cc
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
var Foxx = require('org/arangodb/foxx');
var errors = require('./errors');
var controller = new Foxx.Controller(applicationContext);
var api = Foxx.requireApp('/sessions').sessionStorage;
var api = Foxx.requireApp(applicationContext.mount).sessionStorage;
controller.post('/', function (req, res) {
var session = api.create(req.body());