Skip to content

Commit

Permalink
specify protected methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Wenzowski committed Jun 4, 2012
1 parent 47dde82 commit a3dac70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion authentication/lib/refinery/authenticated_system.rb
Expand Up @@ -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
Expand Down

0 comments on commit a3dac70

Please sign in to comment.