]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entries/show.html.erb
Show all diary comments to administrators
[rails.git] / app / views / diary_entries / show.html.erb
index 57bd967b4bc56dd11d17784668e77ad15fb20ef8..a56613b490121e3f1f042b037c092deaa3b0875b 100644 (file)
@@ -1,5 +1,5 @@
 <% content_for :heading do %>
-  <div id="userinformation" >
+  <div id="userinformation">
     <%= user_image @entry.user %>
     <h2><%= link_to t(".user_title", :user => h(@entry.user.display_name)), :action => :index %></h2>
     <p><%= rss_link_to :action => :rss, :display_name => @entry.user.display_name %></p>
@@ -10,7 +10,7 @@
 
 <a id="comments"></a>
 <div class='comments'>
-<%= render :partial => "diary_comment", :collection => @entry.visible_comments %>
+<%= render :partial => "diary_comment", :collection => @comments %>
 </div>
 
 <div>