Hi, I'm not sure if this is omitted for a reason or not, but I think you can reasonably simulate this by adding a hook (before_template_render or something like that - not got doc to hand) and just inserting the configuration data into the output data at that point.
Cheers, Rik Sent from my phone. On 10 Mar 2013 15:46, "Octavian Rasnita" <[email protected]> wrote: > Hi, > > 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? > > --Octavian > > ______________________________**_________________ > dancer-users mailing list > [email protected] > http://lists.preshweb.co.uk/**mailman/listinfo/dancer-users<http://lists.preshweb.co.uk/mailman/listinfo/dancer-users> >
_______________________________________________ dancer-users mailing list [email protected] http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
