On 10/14/2015 04:33 PM, Rubén Amórtegui wrote:
> Hi!!!
>
> This plugin2 looks great!. It solves execution problems of Dancer2::Plugin.
>
> I have a question about the add_route functionality, how can I access to the
> DSL keywords? eg. param('param_name') when I'm defining the code for a new
> route?
>
> Ruben.
The first parameter for the route sub is an $app object, so you can do for
example:
$app->request->params
Regards
Racke
--
Perl and Dancer Development
Visit our Perl::Dancer conference 2015.
More information on https://www.perl.dance.
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users