Refactoring of hook functionality & bootsrap system hooks
This commit is contained in:
parent
72a571724d
commit
65dc68b35c
9 changed files with 24 additions and 14 deletions
|
@ -19,7 +19,7 @@ class Project < ActiveRecord::Base
|
|||
has_many :notes, :dependent => :destroy
|
||||
has_many :snippets, :dependent => :destroy
|
||||
has_many :deploy_keys, :dependent => :destroy, :foreign_key => "project_id", :class_name => "Key"
|
||||
has_many :web_hooks, :dependent => :destroy
|
||||
has_many :hooks, :dependent => :destroy, :class_name => "ProjectHook"
|
||||
has_many :wikis, :dependent => :destroy
|
||||
has_many :protected_branches, :dependent => :destroy
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue