X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a780a7456f34e13b51f198e8923ab6aedfb5d333..0a046673d630a4618c27559875ce613465d85d3c:/app/controllers/diary_entries_controller.rb diff --git a/app/controllers/diary_entries_controller.rb b/app/controllers/diary_entries_controller.rb index 5b522988d..a1cd6ab0e 100644 --- a/app/controllers/diary_entries_controller.rb +++ b/app/controllers/diary_entries_controller.rb @@ -238,7 +238,7 @@ class DiaryEntriesController < ApplicationController comments = DiaryComment.where(:users => @user) comments = comments.visible unless can? :unhidecomment, DiaryEntry - @params = params.permit(:display_name) + @params = params.permit(:display_name, :before, :after) @comments, @newer_comments_id, @older_comments_id = get_page_items(comments, [:user]) end