Recherche des tweets de réponse avec l'API Tweeter

This commit is contained in:
hugol
2024-11-17 13:55:25 +01:00
parent 3d386178bf
commit 8dc18553ec
1751 changed files with 379552 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace App\Http\Controllers;
use App\Models\Contest;
use Artesaos\SEOTools\Facades\SEOTools;
class HomeController extends Controller
{
public function index()
{
SEOTools::setTitle('Liste des concours');
return view('index');
}
public function history()
{
$contests = Contest::where('participated',true)->orderby('updated_at','desc')->paginate(20);
SEOTools::setTitle('Mon historique');
return view('history', compact('contests'));
}
}