On 24/10/13 11:19 PM, Gabor Szabo wrote:Redirection is "broken" in the Dancer2 0.09 and 0.10.
Answering myself:
if instead of
redirect '/',
(broken => it flags the response as halted, so the after hook that flushes the session and adds the cookie header doesn't get called.)
There is a branch that uses Return::MultiLevel that restores this functionality waiting to to be merged.
Hope that helps,
Russell
--
This UTC+13 timezone is like living in tomorrow.
_______________________________________________
dancer-users mailing list
dancer-users@dancer.pm
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users