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
/
routes.ini
diff --git
a/app/routes.ini
b/app/routes.ini
index 40782bf8efd45790f9fc68bee200b64c30857308..ad01201599864f1a5fe54a4be4ac40fb7a57abe7 100644
(file)
--- a/
app/routes.ini
+++ b/
app/routes.ini
@@
-7,6
+7,9
@@
GET[] = /pages/{page}
[Github\Callback]
GET[] = /github/callback
[Github\Callback]
GET[] = /github/callback
+[Github\Hook]
+POST[] = /github/hook
+
[Github\Index]
GET[] = /github
[Github\Index]
GET[] = /github
@@
-16,6
+19,8
@@
GET[] = /github/repo/{owner}/{name}/{page}
[Github\Repo\Hook]
POST[] = /github/repo/{owner}/{name}/hook/{action}
[Github\Repo\Hook]
POST[] = /github/repo/{owner}/{name}/hook/{action}
+; if the user has to re-authenticate, we'll receive a GET because of a redirect
+GET[] = /github/repo/{owner}/{name}/hook/{action}
[Github\Signin]
GET[] = /github/signin
[Github\Signin]
GET[] = /github/signin