BigW Consortium Gitlab

Commit 66e068bb by Dmitriy Zaporozhets

Fix event creation

parent 9e3094b2
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment