aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/blog/posts/show.html.erb
diff options
context:
space:
mode:
authorSimon Hambly <simon.hambly@unclouded.co.uk>2011-02-20 22:11:45 +0000
committerSimon Hambly <simon.hambly@unclouded.co.uk>2011-02-20 22:11:45 +0000
commit8c01bcece45b0c132c595e5940ebcacc52fafaad (patch)
tree3db9555942e26328a0724503878ae6644401beff /app/views/blog/posts/show.html.erb
parent6fda9d4fa747310b9b6037987ec27f46c438fb10 (diff)
downloadrefinerycms-blog-8c01bcece45b0c132c595e5940ebcacc52fafaad.tar.gz
refinerycms-blog-8c01bcece45b0c132c595e5940ebcacc52fafaad.tar.bz2
refinerycms-blog-8c01bcece45b0c132c595e5940ebcacc52fafaad.zip
tidy up views, removing reference to comments when comments disable
Diffstat (limited to 'app/views/blog/posts/show.html.erb')
-rw-r--r--app/views/blog/posts/show.html.erb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/views/blog/posts/show.html.erb b/app/views/blog/posts/show.html.erb
index 5ac4c76..48ca0b8 100644
--- a/app/views/blog/posts/show.html.erb
+++ b/app/views/blog/posts/show.html.erb
@@ -6,7 +6,6 @@
<% if BlogPost.comments_allowed? %>
<aside id="comments">
<h2><%= t('.comments.title') %></h2>
-
<% if (comments = @blog_post.comments.approved).any? %>
<%= render :partial => "comment", :collection => comments %>
<% else %>