Stats
This commit is contained in:
parent
1d88ea42aa
commit
b3fc783098
1 changed files with 2 additions and 1 deletions
|
@ -24,9 +24,10 @@ class StatsControllerProvider implements ControllerProviderInterface
|
||||||
{
|
{
|
||||||
// creates a new controller based on the default route
|
// creates a new controller based on the default route
|
||||||
$controllers = $app['controllers_factory'];
|
$controllers = $app['controllers_factory'];
|
||||||
$gameRepo = $this->_eh->getEm()->getRepository(Models\Game::class);
|
|
||||||
|
|
||||||
$controllers->get('/', function (Application $app) {
|
$controllers->get('/', function (Application $app) {
|
||||||
|
$gameRepo = $this->_eh->getEm()->getRepository(Models\Game::class);
|
||||||
|
|
||||||
$stats = [
|
$stats = [
|
||||||
'new_games' => [],
|
'new_games' => [],
|
||||||
'new_users' => [],
|
'new_users' => [],
|
||||||
|
|
Loading…
Reference in a new issue