ldc-mesbr-app/app/Http/Controllers/HomeController.php

36 lines
604 B
PHP
Raw Normal View History

2019-01-15 14:17:15 +01:00
<?php
namespace App\Http\Controllers;
use App\Campagne;
use Barryvdh\Debugbar\Facade as Debugbar;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
2025-04-03 09:30:16 +02:00
// $this->middleware('auth');
2019-01-15 14:17:15 +01:00
}
/**
* Show the application dashboard.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$test = Campagne::find(102);
Debugbar::info($test);
return view('home')->with([
'test' => $test,
]);
}
}