More comments

This commit is contained in:
Jason Denney
2013-08-17 14:07:35 -04:00
parent 1a8b9c9247
commit 028a45702e
+3 -1
View File
@@ -224,7 +224,9 @@ end
#Check in the user if they sign in. (Devise uses Warden)
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?
end