mirror of
https://github.com/fspc/BikeShed-1.git
synced 2025-03-12 05:53:22 -04:00
More comments
This commit is contained in:
parent
1a8b9c9247
commit
028a45702e
@ -224,7 +224,9 @@ end
|
|||||||
|
|
||||||
#Check in the user if they sign in. (Devise uses Warden)
|
#Check in the user if they sign in. (Devise uses Warden)
|
||||||
Warden::Manager.after_set_user do |user,auth,opts|
|
Warden::Manager.after_set_user do |user,auth,opts|
|
||||||
#this essentially gets called after every netzke request, but alas.
|
# this essentially gets called after every netzke request, but alas,
|
||||||
|
# only using the after_authenticaion callback doesn't get fired after
|
||||||
|
# user creation.
|
||||||
user.checkin unless user.checked_in?
|
user.checkin unless user.checked_in?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user