|
|
@ -2,6 +2,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
namespace Eater\Glim\Handler;
|
|
|
|
namespace Eater\Glim\Handler;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
use Eater\Glim\Model\ServerQuery;
|
|
|
|
use Eater\Glim\Service\GitHub;
|
|
|
|
use Eater\Glim\Service\GitHub;
|
|
|
|
|
|
|
|
|
|
|
|
class Home extends Session
|
|
|
|
class Home extends Session
|
|
|
@ -28,7 +29,8 @@ class Home extends Session
|
|
|
|
return $this->render("home.html.twig", [
|
|
|
|
return $this->render("home.html.twig", [
|
|
|
|
'author' => $author,
|
|
|
|
'author' => $author,
|
|
|
|
'contributors' => $github->getContributors(),
|
|
|
|
'contributors' => $github->getContributors(),
|
|
|
|
'githubRepo' => $repo
|
|
|
|
'githubRepo' => $repo,
|
|
|
|
|
|
|
|
'serverCount' => ServerQuery::create()->findByStatus('signed')->count()
|
|
|
|
]);
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|