Fix routing. Finalize user show page

This commit is contained in:
Dmitriy Zaporozhets 2013-01-22 19:45:13 +02:00
parent 70690e1971
commit 96d97c4857
5 changed files with 31 additions and 14 deletions

View file

@ -21,6 +21,10 @@ class Team
end
end
def get_tm user_id
project.users_projects.find_by_user_id(user_id)
end
def add_user(user, access)
add_users_ids([user.id], access)
end