README.md in darkhelmet-role_on-0.2.6 vs README.md in darkhelmet-role_on-0.2.7
- old
+ new
@@ -46,10 +46,10 @@
Do your own thing for managing roles.
Start locking down your controllers
role_on(:admin, :on => [:new,:create,:destroy])
- role_on(:regular, :on => [:edit,:update])
+ role_on(:regular, :only => [:edit,:update])
Add your views
if current_user.has_role?(:admin) # do stuff