<?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
|
|
]);
|
|
}
|
|
}
|