Browse Source

Update PlaceController, fixes #2017

Daniel Supernault 5 years ago
parent
commit
dd5fa3a49d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/PlaceController.php

+ 1 - 1
app/Http/Controllers/PlaceController.php

@@ -33,7 +33,7 @@ class PlaceController extends Controller
 
     public function directoryCities(Request $request, $country)
     {
-        $country = urldecode($country);
+        $country = ucfirst(urldecode($country));
         $places = Place::whereCountry($country)
             ->orderBy('name', 'asc')
             ->distinct('name')