15 Dec
2012
15 Dec
'12
8:33 p.m.
On Sat, 15 Dec 2012 20:16:21 +0000 David Precious <davidp@preshweb.co.uk> wrote:
For the time being, I've added two new keywords to handle matching multiple roles - requires_any_role and requires_all_roles, which do as their names would suggest.
Or, rather, I've standardised on singular require_* (e.g. require_login, require_role, require_any_role, require_all_roles) for consistency, and because I think it reads better - it's a command, to require something before this route can execute. -- David Precious ("bigpresh") <davidp@preshweb.co.uk> http://www.preshweb.co.uk/ www.preshweb.co.uk/twitter www.preshweb.co.uk/linkedin www.preshweb.co.uk/facebook www.preshweb.co.uk/cpan www.preshweb.co.uk/github