forked from miguel456/rbrecruiter
RSM-8 Add team files page and ability to download files
This commit is contained in:
@@ -36,4 +36,10 @@ class Team extends TeamworkTeam
|
||||
{
|
||||
return $this->belongsToMany('App\Vacancy', 'team_has_vacancy');
|
||||
}
|
||||
|
||||
|
||||
public function files()
|
||||
{
|
||||
return $this->hasMany('App\TeamFile', 'team_id');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user