fix for blank

This commit is contained in:
chiu 2020-04-08 21:16:22 +08:00
parent 57f4ac696a
commit 77c1cdaa2f
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ class Admin::FeedsController < OrbitAdminController
render :text => 'success'
end
def announcements
@all_feed_annc = SiteFeedAnnc.all.order(created_at: 1).to_a
@all_feed_annc = SiteFeedAnnc.all.order(created_at: 1).to_a rescue []
end
def get_category_list
app_key = params[:channel]