summaryrefslogtreecommitdiff
path: root/app/models/project_team.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-25 09:56:39 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-25 09:56:39 +0200
commit34f994b7c50fa45c4257cbe5f0fef61f58abb549 (patch)
tree0aa89fd111015483d39ced5496587104b913ced1 /app/models/project_team.rb
parent1e64333c5fe81a36373f0d437e425e8cab107a91 (diff)
downloadgitlab-ce-34f994b7c50fa45c4257cbe5f0fef61f58abb549.tar.gz
Improve dev fixtures
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/models/project_team.rb')
-rw-r--r--app/models/project_team.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/project_team.rb b/app/models/project_team.rb
index 83416a08164..5630f280aea 100644
--- a/app/models/project_team.rb
+++ b/app/models/project_team.rb
@@ -64,6 +64,10 @@ class ProjectTeam
UsersProject.truncate_team(project)
end
+ def users
+ members
+ end
+
def members
@members ||= fetch_members
end