Move team project management to own controller
This commit is contained in:
parent
cca9935970
commit
b7470440ff
8 changed files with 121 additions and 0 deletions
5
app/helpers/admin/teams/projects_helper.rb
Normal file
5
app/helpers/admin/teams/projects_helper.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue