#2417 remove janitor from mod-only attr_accessible

This commit is contained in:
Toks
2015-06-30 12:59:39 -04:00
parent 799b9ebe19
commit b3a665d096
3 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ class Pool < ActiveRecord::Base
after_create :synchronize!
before_destroy :create_mod_action_for_destroy
attr_accessible :name, :description, :post_ids, :post_id_array, :post_count, :is_active, :category, :as => [:member, :gold, :platinum, :contributor, :janitor, :moderator, :admin, :default]
attr_accessible :is_deleted, :as => [:janitor, :moderator, :admin]
attr_accessible :is_deleted, :as => [:moderator, :admin]
module SearchMethods
def deleted