hide more pages for banned artists #2132

This commit is contained in:
r888888888
2016-01-27 17:02:03 -08:00
parent eadcaaa32a
commit b8f14b6fee
12 changed files with 117 additions and 87 deletions

View File

@@ -3,6 +3,7 @@ class WikiPageVersion < ActiveRecord::Base
belongs_to :updater, :class_name => "User"
belongs_to :artist
attr_accessible :wiki_page_id, :title, :body, :is_locked, :updater_id, :updater_ip_addr, :version, :other_names
delegate :visible?, :to => :wiki_page
module SearchMethods
def for_user(user_id)