X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=config%2Froutes.ini;h=cb28b1e9846b285a1e915178685111eccdb05006;hb=25b99959b9e66d00681092977c23b5df32ead5f4;hp=ad01201599864f1a5fe54a4be4ac40fb7a57abe7;hpb=26494fb5cdfb9cf103904d10b6bda564bcf2d0bd;p=pharext%2Fpharext.org diff --git a/config/routes.ini b/config/routes.ini index ad01201..cb28b1e 100644 --- a/config/routes.ini +++ b/config/routes.ini @@ -7,7 +7,7 @@ GET[] = /pages/{page} [Github\Callback] GET[] = /github/callback -[Github\Hook] +[Github\Hook\Receive] POST[] = /github/hook [Github\Index] @@ -17,7 +17,7 @@ GET[] = /github GET[] = /github/repo/{owner}/{name} GET[] = /github/repo/{owner}/{name}/{page} -[Github\Repo\Hook] +[Github\RepoHook] 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}