style: remove unused code

This commit is contained in:
Rico van Zelst
2023-11-07 19:15:09 +01:00
parent bceead273d
commit b5342fcc9d
3 changed files with 8 additions and 12 deletions

View File

@@ -15,9 +15,7 @@ class ChampionController extends Controller
{
$champions = Champion::orderBy('name')->get();
return view('champions.index', [
'champions' => $champions,
]);
return view('champions.index', compact('champions'));
}
/**