projects
/
pharext
/
pharext.org
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
webhook management
[pharext/pharext.org]
/
app
/
Controller
/
Github
/
Repo.php
diff --git
a/app/Controller/Github/Repo.php
b/app/Controller/Github/Repo.php
index 2ee935d3cf47035eaa8477017e6678582047bdc8..f194d8e726b91ac52294e1651a542b95d0d8ea4e 100644
(file)
--- a/
app/Controller/Github/Repo.php
+++ b/
app/Controller/Github/Repo.php
@@
-17,6
+17,13
@@
class Repo extends Github
} catch (\app\Github\Exception $exception) {
$this->app->getView()->addData(compact("exception", "owner", "name"));
}
} catch (\app\Github\Exception $exception) {
$this->app->getView()->addData(compact("exception", "owner", "name"));
}
+
+ if (($modal = $this->app->getRequest()->getQuery("modal"))) {
+ $this->app->getView()->addData(compact("modal") + [
+ "action" => $this->app->getRequest()->getQuery($modal)
+ ]);
+ }
+
$this->app->display("github/repo");
}
}
$this->app->display("github/repo");
}
}