develop #8

Closed
alcapurrias wants to merge 4 commits from alcapurrias/develop into develop
Showing only changes of commit 971e744057 - Show all commits

View file

@ -45,12 +45,12 @@ class LocationController extends Controller
return back()->with('message', 'New Location Added. Take a break!');
} else {
return back()->withErrors([
'error' => 'Uh oh. There was an inssue',
'error' => 'Uh oh. There was an issue.',
]);
}
} else {
return back()->withErrors([
'error' => 'All fields are required',
'error' => 'All fields are required.',
]);
}
}
@ -65,7 +65,7 @@ class LocationController extends Controller
$duplicates = 0;
$fresh = 0;
// ['url' => "rage.love"],
//['url' => "indyapocalypse.social"],
//['url' => "indiepocalypse.social"],
$unified = [];
//$denycount = array_map('str_getcsv', file($this->defed));
@ -145,7 +145,7 @@ class LocationController extends Controller
'uuid' => Uuid::uuid4(),
'name' => $item['url'],
'url' => $item['url'],
'description' => ($item['comment'] != null) ? $item['comment'] : "no description",
'description' => ($item['comment'] != null) ? $item['comment'] : "No description provided.",
'active' => true,
'rating' => $item['rating'],
'added_by' => 1,