From 90c337993a3778404fbb98211a40433e46c13f60 Mon Sep 17 00:00:00 2001 From: Mateusz Gachowski Date: Fri, 2 Aug 2013 21:18:43 +0200 Subject: [PATCH] Fixed documentation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0095a46..edaf060 100644 --- a/README.md +++ b/README.md @@ -701,7 +701,7 @@ Flight::route($pattern, $callback) // Maps a URL pattern to a callback. Flight::redirect($url, [$code]) // Redirects to another URL. Flight::render($file, [$data], [$key]) // Renders a template file. Flight::error($exception) // Sends an HTTP 500 response. -Flight::notFound() // Sends an HTTP 400 response. +Flight::notFound() // Sends an HTTP 404 response. Flight::etag($id, [$type]) // Performs ETag HTTP caching. Flight::lastModified($time) // Performs last modified HTTP caching. Flight::json($data) // Sends a JSON response.