diff --git a/app/models/bulletin_feed.rb b/app/models/bulletin_feed.rb index f3d9631..0fcaa9e 100644 --- a/app/models/bulletin_feed.rb +++ b/app/models/bulletin_feed.rb @@ -125,6 +125,7 @@ class BulletinFeed a["bulletin_links"] = [] a["bulletin_files"] = [] a["bulletin_carousel_images"] = anns.bulletin_carousel_images.map{|image| {"src"=>"#{base_url}" + image.file.url,"description"=>image.description.to_s,"description_text"=>image.description_text }} + a["external_link"] = anns["is_external_link"] ? anns.external_link : nil anns.tags.each do |tag| if !tag_ids.include?(tag.id.to_s) tag_ids << tag.id.to_s