Methods
A
L
Instance Public methods
after_create(project)
# File app/observers/project_observer.rb, line 2
def after_create(project)
  project.update_repository
end
after_destroy(project)
# File app/observers/project_observer.rb, line 10
def after_destroy(project)
  log_info("Project \"#{project.name}\" was removed")

  project.destroy_repository
end
after_update(project)
# File app/observers/project_observer.rb, line 6
def after_update(project)
  project.send_move_instructions if project.namespace_id_changed?
end
Instance Protected methods
log_info(message)
# File app/observers/project_observer.rb, line 22
def log_info message
  Gitlab::AppLogger.info message
end