This commit is contained in:
albert
2013-03-23 12:06:49 -04:00
parent 7f5bdb0121
commit 2378e91006
6 changed files with 28 additions and 7 deletions

View File

@@ -176,6 +176,10 @@ class AnonymousUser
def per_page
Danbooru.config.posts_per_page
end
def hide_deleted_posts?
false
end
%w(member banned privileged builder platinum contributor janitor moderator admin).each do |name|
define_method("is_#{name}?") do