forked from are0h/TheBadSpace
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
292 B
PHTML
17 lines
292 B
PHTML
1 year ago
|
<?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]);
|
||
|
}
|
||
|
}
|