fix error
This commit is contained in:
parent
f844b3d600
commit
57f4ac696a
|
@ -13,10 +13,10 @@ module FeedModel
|
|||
tmp[:feed_name] = feed[:feed_name]
|
||||
tmp.all_contents_for_feed = feed.get_annc
|
||||
tmp.merge_with_category = feed.merge_with_category
|
||||
tmp.channel_key = feed.channel_key
|
||||
tmp.category_title = feed.category[:title] rescue {}
|
||||
tmp.remote_site_url = feed.remote_site_url
|
||||
tmp.channel_title = feed.channel_title_for_cache
|
||||
feed.remote_site_url
|
||||
tmp.save
|
||||
end
|
||||
def do_before_save
|
||||
|
|
|
@ -17,6 +17,7 @@ module Feeds
|
|||
tmp.merge_with_category = site_feed.merge_with_category
|
||||
tmp.channel_key = site_feed.channel_key
|
||||
tmp.category_title = site_feed.category[:title] rescue {}
|
||||
tmp.remote_site_url = site_feed.remote_site_url
|
||||
tmp.channel_title = site_feed.channel_title_for_cache
|
||||
tmp.save
|
||||
elsif !tmp.nil?
|
||||
|
|
Loading…
Reference in New Issue