From 99d81efef3a5af195c898fe6edd771a0f46ad399 Mon Sep 17 00:00:00 2001 From: Chris Alley Date: Tue, 5 Aug 2014 14:20:12 +1200 Subject: [PATCH] Fix typo in link_to example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %> ```