From b3335ce8c288acfea2f198c48289e2ee873eceae Mon Sep 17 00:00:00 2001 From: albert Date: Mon, 29 Aug 2011 17:48:54 -0400 Subject: [PATCH] removed local config --- config/danbooru_local_config.rb | 39 --------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 config/danbooru_local_config.rb diff --git a/config/danbooru_local_config.rb b/config/danbooru_local_config.rb deleted file mode 100644 index 283e02225..000000000 --- a/config/danbooru_local_config.rb +++ /dev/null @@ -1,39 +0,0 @@ -module Danbooru - class CustomConfiguration < Configuration - # Define your custom overloads here - def app_name - "Lorem" - end - - def posts_per_page - 3 - end - - def is_user_restricted?(user) - !user.is_privileged? || user.name == "ppayne" - end - - def is_post_restricted?(post) - post.has_tag?("loli") || post.has_tag?("shota") - end - - def custom_html_header_content - %{ - - - }.html_safe - end - - def is_user_advertiser?(user) - user.is_admin? || user.name == "ppayne" - end - end -end