[Dancer-users] Bug in `forward`?

Nick Knutov mail at knutov.com
Fri Apr 15 13:37:14 CEST 2011


But why? As I understood from documentation, 'any' includes all of them, 
including 'get' and 'post'. And it is working for direct queries. Why 
should I specify them additionally?


On 15.04.2011 14:05, ambs wrote:
> 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

-- 
Best Regards,
Nick Knutov
http://knutov.com
ICQ: 272873706
Voice: +7-904-84-23-130


More information about the Dancer-users mailing list