forked from projects/thebadspace
ba79c9924c
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
17 lines
292 B
PHP
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]);
|
|
}
|
|
}
|