X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1700c23dd1018b66a268b4c76fcf9fb2a09a35ab..8f57efe850bf9805d9bfb073d16d4cf1d06882f5:/app/controllers/diary_entries_controller.rb?ds=sidebyside diff --git a/app/controllers/diary_entries_controller.rb b/app/controllers/diary_entries_controller.rb index 0b2fcb73e..6db32797a 100644 --- a/app/controllers/diary_entries_controller.rb +++ b/app/controllers/diary_entries_controller.rb @@ -235,7 +235,7 @@ class DiaryEntriesController < ApplicationController def comments @title = t ".title", :user => @user.display_name - comments = DiaryComment.where(:users => @user) + comments = DiaryComment.where(:user => @user) comments = comments.visible unless can? :unhidecomment, DiaryEntry @params = params.permit(:display_name, :before, :after)