Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

Commit

Permalink
Update README.markdown
Browse files Browse the repository at this point in the history
The description of the process to decide whether you can update an employer referred to their organisation, while the example refers to their employer. Changed to reference to organisation to employer to make the example clearer.
  • Loading branch information
Ivor committed Nov 27, 2015
1 parent 54d9c55 commit d4197d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.markdown
Expand Up @@ -405,7 +405,7 @@ class LlamasController < ApplicationController
end
```

If you want to authorize all actions the same way, use the special `all_actions` hash key. For instance, if you have nested resources, you might say "you're allowed to do anything you like with an employee if you're allowed to update their organization".
If you want to authorize all actions the same way, use the special `all_actions` hash key. For instance, if you have nested resources, you might say "you're allowed to do anything you like with an employee if you're allowed to update their employer".

```ruby
class EmployeesController < ApplicationController
Expand Down

0 comments on commit d4197d5

Please sign in to comment.