thebadspace/app/Http/Controllers/FrontIndexController.php
Ro ba79c9924c
Basic Wiring, environment set up
Added some controllers and template pages to test connection with the db
and begin the process of porting over functionality to this version.

Also made some minor tweaks to formatting configs and updated a color in
the css
2023-08-14 13:33:53 -07:00

17 lines
292 B
PHP

<?php
namespace App\Http\Controllers;
use App\Models\Location;
class FrontIndexController extends Controller
{
public function start()
{
$locations = Location::all();
$count = count($locations);
return view('front.index', ['count' => $count]);
}
}