This commit is contained in:
Ruben 2017-03-31 12:27:39 +02:00
parent 35929ced49
commit 1d88ea42aa

View file

@ -24,7 +24,7 @@ class StatsControllerProvider implements ControllerProviderInterface
{
// creates a new controller based on the default route
$controllers = $app['controllers_factory'];
$gamesRepo = $this->_eh->getEm()->getRepository(Models\Game::class);
$gameRepo = $this->_eh->getEm()->getRepository(Models\Game::class);
$controllers->get('/', function (Application $app) {
$stats = [