add feed output orbithashtag
This commit is contained in:
parent
7f4b054a8b
commit
0fe1e2d4a5
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue