.not_guest_user

This commit is contained in:
Rueshyna authored and chris committed 2012-12-19 19:48:13 +08:00
1 parent 3d39c2c3c3
commit b4633a2ccb
6 files changed
+8 -8

No files matched your search

@@ -21,7 +21,7 @@ class Panel::Announcement::BackEnd::ApprovalsController < OrbitBackendControlle
end
def setting
@sys_users = User.all(conditions: {admin: false}).includes(:avatar)
@sys_users = User.all(conditions: {admin: false}).includes(:avatar).not_guest_user
@bulletin_categorys = BulletinCategory.all
@options_from_collection_for_select_bulletin_categorys = @bulletin_categorys.collect{|bc| [bc.title,bc.id] }
if params.has_key? :category
@@ -1,5 +1,5 @@
<%= content_tag :div ,:id => "users_checkbox_ary",:class => 'clear' do -%>
<% sys_users = User.all -%>
<% sys_users = User.all.not_guest_user -%>
<% sys_users.each do |user| -%>
<div class="checkblock">