Fix routing. Finalize user show page
This commit is contained in:
parent
70690e1971
commit
96d97c4857
5 changed files with 31 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue