15 Apr
2011
15 Apr
'11
11:37 a.m.
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