Skip to content

Commit b00a6b9

Browse files
author
root
committed
Minor change
1 parent ef8f237 commit b00a6b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: lib/redmine_git_hosting/patches/repository_git_patch.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ def self.included(base)
1010
base.class_eval do
1111
unloadable
1212

13-
has_one :git_extra, :foreign_key => 'repository_id', :class_name => 'RepositoryGitExtra', :dependent => :destroy
14-
has_one :git_notification, :foreign_key => 'repository_id', :class_name => 'RepositoryGitNotification', :dependent => :destroy
13+
has_one :git_extra, :dependent => :destroy, :foreign_key => 'repository_id', :class_name => 'RepositoryGitExtra'
14+
has_one :git_notification, :dependent => :destroy, :foreign_key => 'repository_id', :class_name => 'RepositoryGitNotification'
1515

1616
has_many :mirrors, :dependent => :destroy, :foreign_key => 'repository_id', :class_name => 'RepositoryMirror'
1717
has_many :post_receive_urls, :dependent => :destroy, :foreign_key => 'repository_id', :class_name => 'RepositoryPostReceiveUrl'

0 commit comments

Comments
 (0)