Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Update Resources/doc/4-exception-controller-support.md #337

Merged
merged 2 commits into from

2 participants

@cordoval

No description provided.

Resources/doc/4-exception-controller-support.md
@@ -1,6 +1,10 @@
Step 4: ExceptionController support
===================================
+When implementing a secured REST API you would want to block requests firing
+exceptions with default or custom information back to the client. This bundle
+provides an extra controller for that job.
@lsmith77 Owner
lsmith77 added a note

the paragraph should include the next one too .. otherwise it seems like this intro paragraph covers the entire functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@cordoval

@lsmith77 :+1: ready too

@lsmith77 lsmith77 merged commit 940e001 into FriendsOfSymfony:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 5, 2012
  1. @cordoval
Commits on Dec 7, 2012
  1. @cordoval

    address comments

    cordoval authored
This page is out of date. Refresh to see the latest.
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:
Something went wrong with that request. Please try again.