change 'online' time from 5 to 2 mins

This commit is contained in:
jomo
2014-05-03 05:16:11 +02:00
parent 2e23928a33
commit 34c4176521

View File

@@ -40,7 +40,7 @@ class User < ActiveRecord::Base
end
def online?
last_seen && last_seen > 5.minutes.ago
last_seen && last_seen > 2.minutes.ago
end
#roles