]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/diary_entries_controller.rb
Update bundle
[rails.git] / app / controllers / diary_entries_controller.rb
index 12f31bad255c01bf834214fd3b4e656084c0215d..312e1e54caf3464649fc52e71ff34e5a8fec32f4 100644 (file)
@@ -235,6 +235,8 @@ class DiaryEntriesController < ApplicationController
   end
 
   def comments
+    @title = t ".title", :user => @user.display_name
+
     conditions = { :user_id => @user }
 
     conditions[:visible] = true unless can? :unhidecomment, DiaryEntry