mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 10:10:48 +01:00
feat: champion list
This commit is contained in:
@@ -13,7 +13,11 @@ class ChampionController extends Controller
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
//
|
||||
$champions = Champion::orderBy('name')->get();
|
||||
|
||||
return view('champions.index', [
|
||||
'champions' => $champions,
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user