Skip to content

Commit

Permalink
Fix incorrect namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Knight committed May 9, 2015
1 parent f751a07 commit fd86974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ There are two ways to manually trigger a 404 error from a route. First, you may

abort(404);

The `abort` helper simply throws a `Symfony\Component\HttpFoundation\Exception\HttpException` with the specified status code.
The `abort` helper simply throws a `Symfony\Component\HttpKernel\Exception\HttpException` with the specified status code.

Secondly, you may manually throw an instance of `Symfony\Component\HttpKernel\Exception\NotFoundHttpException`.

Expand Down

0 comments on commit fd86974

Please sign in to comment.