Sha256: 05896d3d4c9f32417f0f35014a551f8a8ebb37c94129323df4991bfe9b72c2cb
Contents?: true
Size: 525 Bytes
Versions: 15
Compression:
Stored size: 525 Bytes
Contents
module ExvoAuth::Controllers::Rails def self.included(base) base.send :include, ExvoAuth::Controllers::Base base.send :include, InstanceMethods base.helper_method :current_user, :signed_in?, :sign_up_path, :sign_in_path end module InstanceMethods protected def request_method request.request_method end def basic_authentication_method_name :authenticate_or_request_with_http_basic end def find_user_by_id(id) User.find(id) end end end
Version data entries
15 entries across 15 versions & 1 rubygems