Logging in as an account without membership no longer infinetly redirects.
This commit is contained in:
parent
63c30bc135
commit
cd464e604c
@ -9,10 +9,10 @@ module Admin
|
|||||||
|
|
||||||
before_filter :require_site
|
before_filter :require_site
|
||||||
|
|
||||||
load_and_authorize_resource
|
|
||||||
|
|
||||||
before_filter :validate_site_membership
|
before_filter :validate_site_membership
|
||||||
|
|
||||||
|
load_and_authorize_resource
|
||||||
|
|
||||||
before_filter :set_locale
|
before_filter :set_locale
|
||||||
|
|
||||||
helper_method :sections, :current_site_url, :site_url, :page_url, :current_ability
|
helper_method :sections, :current_site_url, :site_url, :page_url, :current_ability
|
||||||
|
Loading…
Reference in New Issue
Block a user