diff --git a/README.md b/README.md index 6eac5fd..19dd5b0 100644 --- a/README.md +++ b/README.md @@ -274,7 +274,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 %> ```