app/Http/Controllers/RankingController.php
/**
     * Show ranking of all players.
     *
     * @return Response
     */
Show ranking of all players.
@return Response
Show ranking of all players . @return Response
public function player()
    {
        $characters = Character::getForRanking()->paginate(20);
        return view('ranking.player', [
            'characters' => $characters,
        ]);
    }
public function player ( ) { $ characters = Character :: getForRanking ( ) -> paginate ( 20 ) ; return view ( 'ranking.player' , [ 'characters' => $ characters , ] ) ; }
Show ranking of all players.
Show ranking of all players .