Including Items and Products views and controllers

This commit is contained in:
2018-09-10 01:23:32 -03:00
parent 112d3dc44e
commit 25cff75c48
9 changed files with 144 additions and 14 deletions

View File

@@ -23,6 +23,7 @@ class HomeController extends Controller
*/
public function index()
{
return view('home');
$items = \App\Item::where('userID');
return view('home', compact('items'));
}
}