add widget hashtag
This commit is contained in:
parent
f280f1e5ec
commit
e97c744422
|
|
@ -40,6 +40,7 @@ module AnnouncementsHelper
|
|||
"statuses" => statuses,
|
||||
"category" => (a.category.title rescue ""),
|
||||
"tag_ids" => (set_tag_ids.nil? ? (a.tag_ids.map{|id| id.to_s}.to_s.gsub('"',"'") rescue '[]') : set_tag_ids),
|
||||
"orbithashtags" => (a.hashtags_for_frontend(link_to_show.split('/')[0...-1].join('/')) rescue []),
|
||||
"postdate" => a.postdate,
|
||||
"author" => author,
|
||||
"link_to_show" => link_to_show+"\" #{(link_to_show[0] == '/' rescue true) ? '' : 'target="_blank"'} title=\"#{title}",
|
||||
|
|
|
|||
Loading…
Reference in New Issue