diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-17 21:45:03 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-17 21:45:03 +0300 |
commit | 66e068bbdf7ef407206fb992f4b90644722549be (patch) | |
tree | ad635a586a26e8b6d13bc30988ca616d2a47011f /app/models/event.rb | |
parent | 9e3094b232fe5343e5986f0e6a072a5194e18ada (diff) | |
download | gitlab-ce-66e068bbdf7ef407206fb992f4b90644722549be.tar.gz |
Fix event creation
Diffstat (limited to 'app/models/event.rb')
-rw-r--r-- | app/models/event.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/event.rb b/app/models/event.rb index 92ad70f4eea..1a8d55c54b4 100644 --- a/app/models/event.rb +++ b/app/models/event.rb @@ -309,7 +309,7 @@ class Event < ActiveRecord::Base def reset_project_activity if project - project.update_column(:last_activity_at, event.created_at) + project.update_column(:last_activity_at, self.created_at) end end end |