docs/writing_policies.md in action_policy-0.3.4 vs docs/writing_policies.md in action_policy-0.4.0

- old
+ new

@@ -54,10 +54,10 @@ You can also specify all the usual options (such as `with`). There is also a `check?` method which is just an "alias"\* for `allowed_to?` added for better readability: -``` +```ruby class PostPolicy < ApplicationPolicy def show? user.admin? || check?(:publicly_visible?) end