add subtitle_ann for front-end

This commit is contained in:
EricTYL 2019-10-29 14:49:10 +08:00
parent 82ab7c40ec
commit c3c8e4864b
1 changed files with 1 additions and 0 deletions

View File

@ -342,6 +342,7 @@ class AnnouncementsController < ApplicationController
"bulletin_links" => links,
"data" => {
"title" => announcement.title,
"subtitle_ann" => announcement.subtitle,
"update_user" => update_user,
"updated_at" => announcement.postdate.strftime('%Y-%m-%d %H:%M'),
"body" =>announcement.text,