-
routes/app.php
Open in GitHubuse Illuminate\Support\Facades\Route; use Illuminate\Contracts\View\View as ViewContract; Route::get('contributions', static function (): ViewContract { return view('app.contributions', [ 'user' => auth()->user(), 'contributions' => auth()->user()->contributions()->with('owner')->cursor(), ]); })->name('contributions');