This commit is contained in:
2026-01-12 18:20:31 +00:00
parent 2a83373b28
commit ff904abf49
10 changed files with 244 additions and 19 deletions

View File

@@ -10,7 +10,8 @@ class HotelController extends Controller
{
public function index()
{
return Hotel::all();
$hotels = Hotel::all();
return view('admin.hotels.index', compact('hotels'));
}
public function store(Request $request)