journal-intime/app/Http/Controllers/WelcomeController.php

16 lines
242 B
PHP
Raw Normal View History

<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class WelcomeController extends Controller
{
public function index()
{
return view('welcome', [
'today' => new \DateTime(),
]);
}
}