You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 lines
607 B

<?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;
use App\Models\Bucket;
class HomeController extends BaseController
{
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
/**
*
* @return [type] [description]
*
*/
public function show()
{
$buckets = Bucket::get();
return view('home', [
'buckets' => $buckets
]);
}
}