mirror of
https://github.com/brunofontes/shareit.git
synced 2025-11-15 07:50:54 -03:00
Including Items and Products views and controllers
This commit is contained in:
@@ -23,6 +23,7 @@ class HomeController extends Controller
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
return view('home');
|
||||
$items = \App\Item::where('userID');
|
||||
return view('home', compact('items'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user