clarify 'online' users

This commit is contained in:
jomo
2014-06-22 23:26:52 +02:00
parent f9a11ba583
commit 6e8becc45e
2 changed files with 2 additions and 1 deletions

View File

@@ -40,6 +40,7 @@ class User < ActiveRecord::Base
end
def online?
# when you change this, change footer.html.erb as well!
last_seen && last_seen > 2.minutes.ago
end