Rebuild team area

This commit is contained in:
Dmitriy Zaporozhets 2013-03-14 12:38:43 +02:00
parent f4f36f78dd
commit 441d256188
8 changed files with 81 additions and 116 deletions

View file

@ -14,6 +14,8 @@ class TeamsController < ApplicationController
end
def edit
projects
@avaliable_projects = current_user.admin? ? Project.without_team(user_team) : current_user.owned_projects.without_team(user_team)
end
def update