Add tag output field to announcement index data
This commit is contained in:
parent
aa02417ee8
commit
7593d8931a
|
|
@ -133,7 +133,8 @@ class AnnouncementsController < ApplicationController
|
||||||
"img_description" => desc,
|
"img_description" => desc,
|
||||||
"more" => t("announcement.more"),
|
"more" => t("announcement.more"),
|
||||||
"view_count" => a.view_count,
|
"view_count" => a.view_count,
|
||||||
"orbithashtags" => a.hashtags_for_frontend
|
"orbithashtags" => a.hashtags_for_frontend,
|
||||||
|
"tag" => a.tags_for_frontend
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
a
|
a
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue