Merge pull request #1445 from kounoike/pr-404

404 for non-implemented api
This commit is contained in:
Naoki Takezoe
2017-02-06 09:34:50 +09:00
committed by GitHub

View File

@@ -59,6 +59,13 @@ trait ApiControllerBase extends ControllerBase {
with ReadableUsersAuthenticator
with WritableUsersAuthenticator =>
/**
* 404 for non-implemented api
*/
get("/api/v3/*") {
NotFound()
}
/**
* https://developer.github.com/v3/#root-endpoint
*/