diff options
author | Rubén Dávila <ruben@gitlab.com> | 2019-02-05 09:55:31 -0500 |
---|---|---|
committer | Rubén Dávila <ruben@gitlab.com> | 2019-02-05 09:55:31 -0500 |
commit | 24226b9fe25ad98b279eae6b3ccd37749ba4d60d (patch) | |
tree | 29daa7422ca445c4c172d7c94509da96ff87bedc /app/controllers/dashboard | |
parent | 4b07f22d93de1417ab7918ffd982e35526b50c6e (diff) | |
download | gitlab-ce-24226b9fe25ad98b279eae6b3ccd37749ba4d60d.tar.gz |
Update last_activity_on for Users on some main GET endpoints
In order to have an accurate date about the last activity of a User
we need to update the last_activity_on field when the User is visiting
some basic pages of GitLab like pages related to Dashboards, Projects,
Issues and Merge Requests
Diffstat (limited to 'app/controllers/dashboard')
-rw-r--r-- | app/controllers/dashboard/application_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/dashboard/application_controller.rb b/app/controllers/dashboard/application_controller.rb index cee0753a021..0e9fdc60363 100644 --- a/app/controllers/dashboard/application_controller.rb +++ b/app/controllers/dashboard/application_controller.rb @@ -2,6 +2,7 @@ class Dashboard::ApplicationController < ApplicationController include ControllerWithCrossProjectAccessCheck + include RecordUserLastActivity layout 'dashboard' |