diff --git a/README.md b/README.md index 9ad4081..55c484a 100644 --- a/README.md +++ b/README.md @@ -191,7 +191,7 @@ You can, and are encouraged to, use this method in views: ``` erb <% policy_scope(@user.posts).each do |post| %> -

<% link_to @post.title, post_path(post) %>

+

<% link_to post.title, post_path(post) %>

<% end %> ```