Move team project management to own controller

This commit is contained in:
Andrey Kumanyaev 2013-01-21 01:03:29 +04:00 committed by Dmitriy Zaporozhets
parent cca9935970
commit b7470440ff
8 changed files with 121 additions and 0 deletions

View file

@ -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