This commit is contained in:
Matthew K. Fu JuYuan 2012-05-22 15:54:46 +08:00
parent 7f3b090bb7
commit 1bbf89a354
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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