X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1700c23dd1018b66a268b4c76fcf9fb2a09a35ab..83d9f1f1642d71f3b590e7ee33b22e4c5da00c53:/app/controllers/diary_entries_controller.rb 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)