Comments will be closed after expiration.
This commit is contained in:
parent
a56e67a446
commit
7a202e09e3
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue