diff --git a/app/Http/Controllers/PlaceController.php b/app/Http/Controllers/PlaceController.php index dfebdd123..8bbf456b0 100644 --- a/app/Http/Controllers/PlaceController.php +++ b/app/Http/Controllers/PlaceController.php @@ -10,6 +10,11 @@ use App\{ class PlaceController extends Controller { + public function __construct() + { + $this->middleware('auth'); + } + public function show(Request $request, $id, $slug) { $place = Place::whereSlug($slug)->findOrFail($id);