Logging in as an account without membership no longer infinetly redirects.

This commit is contained in:
Mario Visic 2011-08-28 01:14:02 +08:00
parent 63c30bc135
commit cd464e604c

View File

@ -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