change pack

This commit is contained in:
Fayyazi
2019-09-08 13:27:57 +04:30
parent e278b4e957
commit 5cb3eb800d
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ class Package extends Model
{
return $this->belongsToMany('App\Item', 'item_package');
}
public function packes()
public function packs()
{
return $this->belongsToMany('App\Pack', 'pack_package');
}