1
0
Fork 0
mirror of https://github.com/varvet/pundit.git synced 2022-11-09 12:30:11 -05:00

Merge pull request #25 from wojtekmach/readme_typo

Fix typo in README
This commit is contained in:
Jonas Nicklas 2013-04-08 23:36:21 -07:00
commit 74eb88c3ad

View file

@ -191,7 +191,7 @@ You can, and are encouraged to, use this method in views:
``` erb ``` erb
<% policy_scope(@user.posts).each do |post| %> <% policy_scope(@user.posts).each do |post| %>
<p><% link_to @post.title, post_path(post) %></p> <p><% link_to post.title, post_path(post) %></p>
<% end %> <% end %>
``` ```