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/posts/_post.html.erb | 4 ++-- app/views/blog/shared/_post.html.erb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'app/views/blog') diff --git a/app/views/blog/posts/_post.html.erb b/app/views/blog/posts/_post.html.erb index e5aabdb..6d715c3 100644 --- a/app/views/blog/posts/_post.html.erb +++ b/app/views/blog/posts/_post.html.erb @@ -6,7 +6,7 @@

<%= @blog_post.title %>

-
+
<%= "#{t('blog.posts.show.by')} #{@blog_post.author.username}" if @blog_post.author.present? %>. @@ -18,7 +18,7 @@ <% end %> <% end %> -
+
<%= @blog_post.body.html_safe %> 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