Module: Tracking::UserTime

Extended by:
ActiveSupport::Concern
Included in:
ApplicationController
Defined in:
app/controllers/concerns/tracking/user_time.rb

Instance Method Summary collapse

Instance Method Details

#notice_userObject (private)



12
13
14
15
16
# File 'app/controllers/concerns/tracking/user_time.rb', line 12

def notice_user
  if sessions_current_user
    sessions_current_user.update_last_seen_at
  end
end