Sha256: 1771fff58254835af04665922146cb36e7710661456148ed25e429ad4db94fd0
Contents?: true
Size: 313 Bytes
Versions: 3
Compression:
Stored size: 313 Bytes
Contents
module ExvoAuth::Controllers::Rails def self.included(base) base.send :include, ExvoAuth::Controllers::Base helper_method :current_user, :signed_in?, :sign_in_path, :sign_up_path end def find_user_by_id(id) User.find(id) end def current_url request.url if request.get? end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
exvo-auth-0.3.2 | lib/exvo_auth/controllers/rails.rb |
exvo-auth-0.3.1 | lib/exvo_auth/controllers/rails.rb |
exvo-auth-0.3.0 | lib/exvo_auth/controllers/rails.rb |