diff --git a/app/models/bulletin.rb b/app/models/bulletin.rb index ee6475a..52474e1 100644 --- a/app/models/bulletin.rb +++ b/app/models/bulletin.rb @@ -447,6 +447,9 @@ class Bulletin b["url"] = ("#{base_url}" + bf.file.url rescue "") a["bulletin_files"] << b end + a["orbithashtags"] = self.hashtags.map do |h| + {"name" => h.name.to_s} + end.compact.uniq rescue [] return a end def get_related_feeds