mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 18:20:48 +01:00
style: remove unused code
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user