A ton of progress, search start
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler
2020-12-26 05:46:23 -05:00
parent bed34d5350
commit d086b29bcc
47 changed files with 87115 additions and 7581 deletions

View File

@ -2,6 +2,7 @@
namespace App\Http\Controllers;
use App\Models\Location;
use Illuminate\Http\Request;
class LocationController extends Controller {
@ -37,10 +38,16 @@ class LocationController extends Controller {
* Display the specified resource.
*
* @param int $id
* @return \Illuminate\Http\Response
* @return mixed
*/
public function show($id) {
//
$location = Location::find($id);
if (!$location) {
abort(404);
}
return view('location', [ 'location' => $location ]);
}
/**