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

Fix typo in link_to example

This commit is contained in:
Chris Alley 2014-08-05 14:20:12 +12:00
parent 9d578a0a2d
commit 99d81efef3

View file

@ -274,7 +274,7 @@ You can, and are encouraged to, use this method in views:
``` erb
<% 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 %>
```