flush
[pharext/pharext.org] / app / Controller / Github / Repo.php
index 32fab565a7794a3ccd4000e910cfaf4b2b87556c..ac2ce37d5916cebdb2a3fc68e8cb39f4c2fa1202 100644 (file)
@@ -32,6 +32,7 @@ class Repo extends Github
                settype($repo->tags, "object");
                $this->github->listHooks($repo->full_name, function($hooks) use($repo) {
                        $repo->hooks = $hooks;
+                       $this->app->getView()->addData(["hook" => $this->checkRepoHook($repo)]);
                });
                $this->github->listTags($repo->full_name, 1, $this->createTagsCallback($repo));
                $this->github->listReleases($repo->full_name, 1, $this->createReleasesCallback($repo));