Commit 86584aa8 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Update project last_activity_at on creation

parent cab7d768
class ProjectObserver < BaseObserver
def after_create(project)
project.update_column(:last_activity_at, project.created_at)
return true if project.forked?
if project.import?
......
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