[Dancer-users] Bug in `forward`?

ambs ambs+dancer at perl-hackers.net
Fri Apr 15 10:05:48 CEST 2011


On 15/04/2011 02:19, Nick Knutov wrote:
> return forward "/ticket/$tid/set?assign=1";
>
> Not an ARRAY reference at /usr/local/share/perl/5.10.1/Dancer/Route.pm
> line 167.
>
> Am I doing something wrong?
>
> ps:I have `any '/ticket/:tid/set' => sub {...};`
>
Hello


any ['get','post'] '/ticket...

You need to specify the set from which any will act.

Cheers


More information about the Dancer-users mailing list