more refactoring using models/concerns
This commit is contained in:
parent
40a956eb68
commit
da03a5c7e2
10 changed files with 58 additions and 68 deletions
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
|
||||
class UsersProject < ActiveRecord::Base
|
||||
include GitHost
|
||||
include Gitolited
|
||||
|
||||
GUEST = 10
|
||||
REPORTER = 20
|
||||
|
@ -152,7 +152,7 @@ class UsersProject < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def update_repository
|
||||
git_host.update_repository(project)
|
||||
gitolite.update_repository(project)
|
||||
end
|
||||
|
||||
def project_access_human
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue