fix error
This commit is contained in:
parent
c395d4c44d
commit
79476c545b
|
@ -190,7 +190,7 @@ class BulletinFeed
|
||||||
}.to_json
|
}.to_json
|
||||||
BulletinFeedCache.where(uid: uid,start: startdt,end: enddt,date: dt).destroy
|
BulletinFeedCache.where(uid: uid,start: startdt,end: enddt,date: dt).destroy
|
||||||
feed_cache = BulletinFeedCache.create(uid: uid,content: anns,start: startdt,end: enddt,date: dt,invalid_date: invalid_date)
|
feed_cache = BulletinFeedCache.create(uid: uid,content: anns,start: startdt,end: enddt,date: dt,invalid_date: invalid_date)
|
||||||
all_anns
|
anns
|
||||||
end
|
end
|
||||||
def self.smart_convertor(text,url)
|
def self.smart_convertor(text,url)
|
||||||
doc = Nokogiri.HTML(text)
|
doc = Nokogiri.HTML(text)
|
||||||
|
|
Loading…
Reference in New Issue