module DeviseRemoteUser::ControllerBehavior
Public Instance Methods
after_sign_out_path_for(resource_or_scope)
click to toggle source
Calls superclass method
# File lib/devise_remote_user/controller_behavior.rb, line 4 def after_sign_out_path_for(resource_or_scope) return DeviseRemoteUser.logout_url if remote_user_authenticated? and DeviseRemoteUser.logout_url super end
Private Instance Methods
remote_user_authenticated?()
click to toggle source
# File lib/devise_remote_user/controller_behavior.rb, line 11 def remote_user_authenticated? DeviseRemoteUser.remote_user_id(request.env).present? end