fix code
This commit is contained in:
parent
d0b030c47d
commit
e0260542d3
|
@ -21,7 +21,7 @@ class Panel::Announcement::BackEnd::ApprovalsController < OrbitBackendControlle
|
|||
@bulletin_category = @bulletin_categorys.first
|
||||
end
|
||||
preload_object_auth = @bulletin_category.get_object_auth_by_title('fact_check')
|
||||
@users_array = preload_object_auth.first.privilege_users rescue []
|
||||
@users_array = preload_object_auth.privilege_users rescue []
|
||||
respond_to do |format|
|
||||
format.html
|
||||
format.js
|
||||
|
|
|
@ -21,7 +21,7 @@ class Panel::News::BackEnd::NewsApprovalsController < OrbitBackendController
|
|||
@news_bulletin_categorys = @news_bulletin_categorys.first
|
||||
end
|
||||
preload_object_auth = @news_bulletin_categorys.get_object_auth_by_title('fact_check')
|
||||
@users_array = preload_object_auth.first.privilege_users rescue []
|
||||
@users_array = preload_object_auth.privilege_users rescue []
|
||||
respond_to do |format|
|
||||
format.html
|
||||
format.js
|
||||
|
|
Loading…
Reference in New Issue