fix error
This commit is contained in:
parent
2f2ea7768b
commit
38e130664e
|
@ -14,6 +14,7 @@ Rails.application.routes.draw do
|
||||||
trans[locale]['more_plus'] = I18n.t(:more_plus)
|
trans[locale]['more_plus'] = I18n.t(:more_plus)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
SiteFeedAnnc.where(:feed_id.nin=>SiteFeed.all.pluck(:id)).destroy
|
||||||
SiteFeed.each do |site_feed|
|
SiteFeed.each do |site_feed|
|
||||||
tmp = SiteFeedAnnc.where(feed_id: site_feed.id).first
|
tmp = SiteFeedAnnc.where(feed_id: site_feed.id).first
|
||||||
if site_feed.disabled != true
|
if site_feed.disabled != true
|
||||||
|
|
Loading…
Reference in New Issue