Sha256: fd4d0515abd6582676eceb2e02a95e997ae715d1b98919cf71a9cd9908439561
Contents?: true
Size: 500 Bytes
Versions: 17
Compression:
Stored size: 500 Bytes
Contents
module ExvoAuth::Controllers::Merb def self.included(base) base.send :include, ExvoAuth::Controllers::Base base.send :include, InstanceMethods end module InstanceMethods def authenticate_user! super throw :halt unless signed_in? end protected def request_method request.method.to_s.upcase end def basic_authentication_method_name :basic_authentication end def redirect_to(*args) redirect(*args) end end end
Version data entries
17 entries across 17 versions & 2 rubygems