Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-03 11:06:07 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-03 11:06:07 +0400
commitda03a5c7e25601c2bce8375dbbe1cffc58db7bbf (patch)
treef64f9a9d4c396839b99a263a4c46014db4fa7f4d /app/models/protected_branch.rb
parent40a956eb6825f2bbca06e9f24c1fb24dc71a1ecd (diff)
more refactoring using models/concerns
Diffstat (limited to 'app/models/protected_branch.rb')
-rw-r--r--app/models/protected_branch.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/protected_branch.rb b/app/models/protected_branch.rb
index c54aa3ce9a2..f405a7bf7bc 100644
--- a/app/models/protected_branch.rb
+++ b/app/models/protected_branch.rb
@@ -10,7 +10,7 @@
#
class ProtectedBranch < ActiveRecord::Base
- include GitHost
+ include Gitolited
attr_accessible :name
@@ -22,7 +22,7 @@ class ProtectedBranch < ActiveRecord::Base
after_destroy :update_repository
def update_repository
- git_host.update_repository(project)
+ gitolite.update_repository(project)
end
def commit