From 5732e168ff10e710eb5d36c9da389e8274a20fc4 Mon Sep 17 00:00:00 2001 From: albert Date: Sat, 23 Feb 2013 18:39:56 -0500 Subject: [PATCH] remove cookie storage for blacklisted tags --- app/controllers/application_controller.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 7948dbcca..12529810f 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -3,7 +3,6 @@ class ApplicationController < ActionController::Base helper :pagination before_filter :set_current_user after_filter :reset_current_user - before_filter :initialize_cookies before_filter :set_title before_filter :set_started_at_session layout "default" @@ -68,14 +67,6 @@ protected end end end - - def initialize_cookies - if CurrentUser.user.is_anonymous? - cookies["blacklisted_tags"] = "" - else - cookies["blacklisted_tags"] = CurrentUser.user.blacklisted_tags - end - end def set_title @page_title = Danbooru.config.app_name + "/#{params[:controller]}"