<p dir="ltr">Hi, </p>
<p dir="ltr">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. </p>
<p dir="ltr">Cheers, <br>
Rik</p>
<p dir="ltr">Sent from my phone.</p>
<div class="gmail_quote">On 10 Mar 2013 15:46, "Octavian Rasnita" <<a href="mailto:orasnita@gmail.com">orasnita@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I was sure the config hash is accessible in the templates, but I found that it is not.<br>
<br>
Then I read:<br>
<br>
"note that for convenience, the request, session, params and vars are automatically accessible in the<br>
view, named "request", "session", "params" and "vars"<br>
<br>
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?<br>
<br>
--Octavian<br>
<br>
______________________________<u></u>_________________<br>
dancer-users mailing list<br>
<a href="mailto:dancer-users@dancer.pm" target="_blank">dancer-users@dancer.pm</a><br>
<a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" target="_blank">http://lists.preshweb.co.uk/<u></u>mailman/listinfo/dancer-users</a><br>
</blockquote></div>