diff --git a/app/Enums/TourStatus.php b/app/Enums/TourStatus.php new file mode 100644 index 0000000..015747b --- /dev/null +++ b/app/Enums/TourStatus.php @@ -0,0 +1,9 @@ +where('status', 1) + ->with('file') + ->orderByDesc('created_at') + ->paginate(12); + + return view('tours.index', compact('tours')); + } + + public function show() + { + + } +}