forked from miguel456/rbrecruiter
Significant changes
Added several components and features too long to list here
This commit is contained in:
@@ -14,8 +14,13 @@ class Form extends Model
|
||||
|
||||
];
|
||||
|
||||
public function vacancy()
|
||||
public function vacancies()
|
||||
{
|
||||
return $this->hasMany('App\Vacancy');
|
||||
return $this->hasMany('vacancies', 'vacancyFormID', 'id');
|
||||
}
|
||||
|
||||
public function responses()
|
||||
{
|
||||
return $this->belongsTo('App\Response', 'id', 'id');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user