all models into model folder
This commit is contained in:
parent
98f50a2b6f
commit
6990469c67
46 changed files with 325 additions and 203 deletions
|
@ -17,7 +17,7 @@ class Book extends Model
|
|||
|
||||
public function project()
|
||||
{
|
||||
return $this->belongsTo('App\Project', 'project_id', 'id');
|
||||
return $this->belongsTo('App\Models\Project', 'project_id', 'id');
|
||||
}
|
||||
|
||||
// public function shelf()
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue