From 584aeecc29100a20d1ee31a100439c897f11ea86 Mon Sep 17 00:00:00 2001 From: Philip Arndt Date: Tue, 21 Jun 2011 13:40:13 +1200 Subject: Using
instead of
to avoid this: https://skitch.com/parndt/ffa3d/refinery-cms-1.0-released-refinery-cms --- app/views/blog/shared/_post.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views/blog/shared') diff --git a/app/views/blog/shared/_post.html.erb b/app/views/blog/shared/_post.html.erb index 662d91a..e3ce714 100644 --- a/app/views/blog/shared/_post.html.erb +++ b/app/views/blog/shared/_post.html.erb @@ -2,7 +2,7 @@

<%= link_to post.title, blog_post_url(post) %>

-
+
<%= "#{t('blog.posts.show.by')} #{post.author.username}" if post.author.present? %>. @@ -18,7 +18,7 @@ <%=raw tags.collect { |tag| link_to tag, tagged_posts_path(tag.parameterize) }.to_sentence %> <% end %> -
+
<%= truncate(post.body, -- cgit v1.2.3