it's just a not working short example :)
but Dancer use context, so in my App::Main I have a before hooks that only apply to the route present in App::Main.
So my App::Root doesn't have it. And it was the case in Dancer 1.
I need to fully change my apps to make it work with Dancer2
De: "Alex C" <calyx238@gmail.com>
À: "Perl Dancer users mailing list" <dancer-users@dancer.pm>
Envoyé: Vendredi 28 Décembre 2012 18:18:12
Objet: Re: [dancer-users] Route dispatch
Yuo are missing the semicolons after your sub declarations. Try it agian ;)
_______________________________________________
dancer-users mailing list
dancer-users@dancer.pm
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users