Comments will be closed after expiration.

This commit is contained in:
junyi 2026-08-26 02:38:16 +00:00
parent a56e67a446
commit 7a202e09e3
1 changed files with 1 additions and 1 deletions

View File

@ -726,7 +726,7 @@ class AnnouncementsController < ApplicationController
"body" => "<b class='announcement_expired'>#{I18n.t('announcement.expired')}</b><br><a class='announcement_go_back_list' href='./' title='#{I18n.t('announcement.go_back')}'>#{I18n.t('announcement.go_back')}</a>".html_safe
},
"comments" => [],
"show_comment_flag" => '',
"show_comment_flag" => false,
"impressionist" => nil,
"url_to_edit"=> '',
"redirect_to" => (announcement.is_external_link && !announcement.external_link.blank? ? announcement.external_link : nil)