From a3dac70d249017c1e24997917e4ae5e37219eddc Mon Sep 17 00:00:00 2001 From: Alexander Wenzowski Date: Sun, 3 Jun 2012 20:33:51 -0400 Subject: [PATCH] specify protected methods --- authentication/lib/refinery/authenticated_system.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/authentication/lib/refinery/authenticated_system.rb b/authentication/lib/refinery/authenticated_system.rb index 3ac27eeb42..f34fbef9c5 100644 --- a/authentication/lib/refinery/authenticated_system.rb +++ b/authentication/lib/refinery/authenticated_system.rb @@ -56,7 +56,8 @@ def refinery_user? refinery_user_signed_in? && current_refinery_user.has_role?(:refinery) end - protected :store_location, :redirect_back_or_default, :refinery_user? + protected :store_location, :pop_stored_location, :redirect_back_or_default, + :sanitized_stored_location_for, :refinery_user? def self.included(base) if base.respond_to? :helper_method