Send author to post hook. Display push activity to dashboard
This commit is contained in:
parent
796784c7c8
commit
bb164ebf1b
15 changed files with 107 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue