Add tag output field to announcement index data

This commit is contained in:
rulingcom 2026-07-31 17:27:34 +08:00
parent aa02417ee8
commit 7593d8931a
1 changed files with 2 additions and 1 deletions

View File

@ -133,7 +133,8 @@ class AnnouncementsController < ApplicationController
"img_description" => desc,
"more" => t("announcement.more"),
"view_count" => a.view_count,
"orbithashtags" => a.hashtags_for_frontend
"orbithashtags" => a.hashtags_for_frontend,
"tag" => a.tags_for_frontend
}
else
a