This commit is contained in:
albert
2013-03-22 10:38:37 -07:00
parent 40ee7e72b8
commit 3e4d149d28
8 changed files with 34 additions and 5 deletions

View File

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