Continue refactoring. Use repostory and team
This commit is contained in:
parent
39ba934c0a
commit
dccd8b6eaa
42 changed files with 219 additions and 179 deletions
|
@ -26,6 +26,6 @@ class ProtectedBranch < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def commit
|
||||
project.commit(self.name)
|
||||
project.repository.commit(self.name)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue