README.md in strong_actions-0.0.1 vs README.md in strong_actions-0.0.2

- old
+ new

@@ -16,10 +16,26 @@ $ gem install strong_actions ## Usage -TODO: Write usage instructions here +Suppose method "current_user" is available for controllers and views, + +and user has an attribute called admin and only admin can modify resource "users", + +then prepare config/acl.yml + + current_user: + users: + new: admin? + create: admin? + edit: admin? + update: admin? + destroy: admin? + +In views, use helper_method "available?" + + <%= link_to 'Add User' new_user_path if available?('users', 'new') %> ## Contributing 1. Fork it ( https://github.com/[my-github-username]/strong_actions/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`)