summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorAndrey Kumanyaev <me@zzet.org>2013-01-21 01:03:29 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-24 22:31:24 +0200
commitb7470440ffbc9cb9f58f9de4b3064760670a20a4 (patch)
tree0bc2a5db6d7536c6e6c45fbd113c743440dd1075 /app/helpers
parentcca993597013e1359d84230b0f69a2e02edb8e97 (diff)
downloadgitlab-ce-b7470440ffbc9cb9f58f9de4b3064760670a20a4.tar.gz
Move team project management to own controller
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/admin/teams/projects_helper.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/helpers/admin/teams/projects_helper.rb b/app/helpers/admin/teams/projects_helper.rb
new file mode 100644
index 00000000000..b97cc403337
--- /dev/null
+++ b/app/helpers/admin/teams/projects_helper.rb
@@ -0,0 +1,5 @@
+module Admin::Teams::ProjectsHelper
+ def assigned_since(team, project)
+ team.user_team_project_relationships.find_by_project_id(project).created_at
+ end
+end