It's working great. Thanks!
On Tue, Dec 10, 2013 at 10:54 PM, Yanick Champoux <[email protected]>wrote: > On 13-12-10 10:00 PM, Jacques Lareau wrote: > >> resource user => >> get => sub { }, >> delete => require_role Admin => sub { }, >> ... >> > > I'll go on a limb, but just for giggles, try: > > > resource user => > get => sub { }, > delete => require_role( Admin => sub { } ), > ... > > > What I suspect is happening is that 'require_role' slurps all the > remaining arguments, which makes resource sad. But that's just a hunch, I > could be wrong... > > Joy, > `/anick > > > _______________________________________________ > dancer-users mailing list > [email protected] > http://lists.preshweb.co.uk/mailman/listinfo/dancer-users >
_______________________________________________ dancer-users mailing list [email protected] http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
