module Feste::Authentication::Clearance
Private Instance Methods
current_user()
click to toggle source
# File lib/feste/authentication/clearance.rb, line 6 def current_user ::Clearance. configuration. user_model. where(remember_token: cookies[::Clearance.configuration.cookie_name]). where.not(remember_token: nil). first end