mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
GET mastertasks, GET mastertasks/{id} endpointy
This commit is contained in:
1 parent
dfac41f30a
commit
ba6b9e20a5
16 files changed
+210
-12
No files matched your search
@@ -18,6 +18,6 @@ class Project extends Model
|
||||
|
||||
public function mastertasks()
|
||||
{
|
||||
return $this->hasMany(MasterTask::class);
|
||||
return $this->hasMany(MasterTask::class, 'master_task_id');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user