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:
parent
9d578a0a2d
commit
99d81efef3
1 changed files with 1 additions and 1 deletions
|
@ -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 %>
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue