Updated Error Handling (markdown)

master
shoully 11 years ago
parent 20683baacf
commit 123640ddb7

@ -19,10 +19,4 @@ send an HTTP `404 Not Found` response with a simple message. You can override th
Flight::map('notFound', function(){
// Handle not found
});
# Redirects
You can redirect the current request by using the `redirect` method and passing in a new URL:
Flight::redirect('/new/location');
});
Loading…
Cancel
Save