chetan51/ni — pull request #9 by zipang (2012-07-18 16:16:38+00:00)
Title: Setting up the context of controllers' calls

Hi there !

Love this little library, and started to use it with [flatiron]. It works pretty well in fact.

However, i needed a way to access my application context from within the controllers. I noticed that the context was not set on the `this` keyword when calling the controllers actions. So it was a very simple feature to to add.

With that feature, i can now easily access the application's loggers, global config or everything else that i have defined on my application context.

[flatiron]: http://flatironjs.org/