Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Getting access to this app context from filters #124

Open
alduro opened this Issue · 0 comments

1 participant

@alduro

Is this possible ? how ? this.app ? I have this initializer and I need to access to this.rs from and ensure_authenticated filter.

var conf = require('../../conf.js')
  , RedisSessions = require('redis-sessions');

module.exports = function() {

  this.rs = new RedisSessions();
  this.rsapp = "control"; // App name to identify sessions

}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.