From cd464e604c7fc0883ecd616fb2ea780d5bb780f2 Mon Sep 17 00:00:00 2001 From: Mario Visic Date: Sun, 28 Aug 2011 01:14:02 +0800 Subject: [PATCH] Logging in as an account without membership no longer infinetly redirects. --- app/controllers/admin/base_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/admin/base_controller.rb b/app/controllers/admin/base_controller.rb index d2ab310c..c7efd941 100644 --- a/app/controllers/admin/base_controller.rb +++ b/app/controllers/admin/base_controller.rb @@ -9,10 +9,10 @@ module Admin before_filter :require_site - load_and_authorize_resource - before_filter :validate_site_membership + load_and_authorize_resource + before_filter :set_locale helper_method :sections, :current_site_url, :site_url, :page_url, :current_ability