added responsable class to index

This commit is contained in:
Denis Duliçi
2020-11-06 00:43:46 +03:00
parent 96963ef0e1
commit e5a7f5b15e
31 changed files with 139 additions and 32 deletions

View File

@ -30,7 +30,7 @@ class Items extends Controller
{
$items = Item::with('category', 'media')->collect();
return view('common.items.index', compact('items'));
return $this->response('common.items.index', compact('items'));
}
/**