Refactor and restyle team page for project

This commit is contained in:
Dmitriy Zaporozhets 2013-02-18 21:10:49 +02:00
parent e9d8d074a1
commit a29db26cc9
11 changed files with 60 additions and 58 deletions

View file

@ -26,6 +26,10 @@ class UserTeamProjectRelationship < ActiveRecord::Base
user_team.name
end
def human_max_access
UserTeam.access_roles.key(greatest_access)
end
private
def check_greatest_access