[dancer-users] Accessing config in the templates

Octavian Rasnita orasnita at gmail.com
Sun Mar 10 15:46:02 GMT 2013


I was sure the config hash is accessible in the templates, but I found that 
it is not.

Then I read:

"note that for convenience, the request, session, params and vars are 
automatically accessible in the
    view, named "request", "session", "params" and "vars"

I think it could be useful if the config would be also accessible. Or is 
there a reason this would not be a good idea?


More information about the dancer-users mailing list