The Return::MultiLevel was merged. It should be out soon.


On Fri, Oct 25, 2013 at 6:39 AM, Russell Jenkins <russell.jenkins@strategicdata.com.au> wrote:
On 24/10/13 11:19 PM, Gabor Szabo wrote:
Answering myself:
if instead of
    redirect '/',

Redirection is "broken" in the Dancer2 0.09 and 0.10.
(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