mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 05:36:07 +10:00
Update project last_activity_at on creation
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
class ProjectObserver < BaseObserver
|
||||
def after_create(project)
|
||||
project.update_column(:last_activity_at, project.created_at)
|
||||
|
||||
return true if project.forked?
|
||||
|
||||
if project.import?
|
||||
|
||||
Reference in New Issue
Block a user