diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-14 12:38:43 +0200 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-14 12:38:43 +0200 |
| commit | 441d25618809c295349f7dae4e45bfbbc0fb7144 (patch) | |
| tree | 1fce09c3098028fa96bdc1a95092c925e7936e82 /app/controllers/teams_controller.rb | |
| parent | f4f36f78ddb3d720ad7ae89ecea300c9f48775c7 (diff) | |
| download | gitlab-ce-441d25618809c295349f7dae4e45bfbbc0fb7144.tar.gz | |
Rebuild team area
Diffstat (limited to 'app/controllers/teams_controller.rb')
| -rw-r--r-- | app/controllers/teams_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/teams_controller.rb b/app/controllers/teams_controller.rb index 4861892d36e..26c1d84f86b 100644 --- a/app/controllers/teams_controller.rb +++ b/app/controllers/teams_controller.rb @@ -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 |
