fix for blank
This commit is contained in:
parent
57f4ac696a
commit
77c1cdaa2f
|
@ -61,7 +61,7 @@ class Admin::FeedsController < OrbitAdminController
|
||||||
render :text => 'success'
|
render :text => 'success'
|
||||||
end
|
end
|
||||||
def announcements
|
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
|
end
|
||||||
def get_category_list
|
def get_category_list
|
||||||
app_key = params[:channel]
|
app_key = params[:channel]
|
||||||
|
|
Loading…
Reference in New Issue