Send author to post hook. Display push activity to dashboard

This commit is contained in:
Dmitriy Zaporozhets 2012-02-29 22:38:24 +02:00
parent 796784c7c8
commit bb164ebf1b
15 changed files with 107 additions and 11 deletions

View file

@ -14,6 +14,7 @@ class Key < ActiveRecord::Base
before_save :set_identifier
after_save :update_repository
after_destroy :repository_delete_key
delegate :id, :name, :email, :to => :user, :prefix => true
def set_identifier
if is_deploy_key