From 879240c7b8bebdfc4baf1ea4b822d6a37653440f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=9A=E4=BA=9E?= Date: Tue, 26 Apr 2022 11:43:59 +0800 Subject: [PATCH] fix error --- app/controllers/announcements_controller.rb | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/app/controllers/announcements_controller.rb b/app/controllers/announcements_controller.rb index 547f1cd..22380e2 100644 --- a/app/controllers/announcements_controller.rb +++ b/app/controllers/announcements_controller.rb @@ -699,7 +699,17 @@ class AnnouncementsController < ApplicationController "bulletin_links" => [], "data" => { "title" => announcement.title, - "body" => "#{I18n.t('announcement.expired')}
#{I18n.t('announcement.go_back')}".html_safe + "subtitle_ann" => '', + "update_user" => '', + "updated_at" => '', + "image" => '', + "img_src" => '', + "img_description" => '', + "hide_class" => ' hide', + "alt_title" => '', + "carousel_html" => '', + "sub_anncs_text" => '', + "body" => "#{I18n.t('announcement.expired')}
#{I18n.t('announcement.go_back')}".html_safe } } end