diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-04 10:43:25 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-04 10:43:25 +0400 |
commit | dccd8b6eaa8b2e98b0245262a8e39df8fb8ae634 (patch) | |
tree | 541a40fb2e84b24ab0c4ae39fa18b1b720e5d7c2 /app/models/protected_branch.rb | |
parent | 39ba934c0a65f571214998e056e925b61f389360 (diff) |
Continue refactoring. Use repostory and team
Diffstat (limited to 'app/models/protected_branch.rb')
-rw-r--r-- | app/models/protected_branch.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/protected_branch.rb b/app/models/protected_branch.rb index f405a7bf7bc..3308caf360a 100644 --- a/app/models/protected_branch.rb +++ b/app/models/protected_branch.rb @@ -26,6 +26,6 @@ class ProtectedBranch < ActiveRecord::Base end def commit - project.commit(self.name) + project.repository.commit(self.name) end end |