Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #337 from cordoval/patch-7

Update Resources/doc/4-exception-controller-support.md
  • Loading branch information...
commit 940e00126ef351e38616d0880b66b615b59d018f 2 parents 1b9941e + 019a686
@lsmith77 lsmith77 authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 Resources/doc/4-exception-controller-support.md
View
7 Resources/doc/4-exception-controller-support.md
@@ -1,8 +1,11 @@
Step 4: ExceptionController support
===================================
-Using this custom ExceptionController it is possible to leverage the View layer
-when building responses for uncaught Exceptions.
+When implementing a secured REST API you would want to block requests by firing
+exceptions with default or custom information back to the client. This bundle
+provides an extra controller for that job. Using this custom ExceptionController
+it is possible to leverage the View layer when building responses for uncaught
+Exceptions.
To enable the RestBundle view-layer-aware ExceptionController update the twig
section of your config as follows:
Please sign in to comment.
Something went wrong with that request. Please try again.