more refactoring using models/concerns

This commit is contained in:
Dmitriy Zaporozhets 2013-01-03 09:06:07 +02:00
parent 40a956eb68
commit da03a5c7e2
10 changed files with 58 additions and 68 deletions

View file

@ -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