Skip to content

Commit

Permalink
Removing extra use statement that didn't change for this code block
Browse files Browse the repository at this point in the history
(and so doesn't need to be mentioned). Thanks to a user by comments: https://knpuniversity.com/screencast/symfony2-ep3/content-type-jsonresponse#comment-2277755237
  • Loading branch information
weaverryan committed Sep 28, 2015
1 parent f5c0141 commit 7b46911
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion knpu/episode3/content-type-jsonresponse.rst
Expand Up @@ -149,7 +149,6 @@ in ``attendAction`` and ``unattendAction`` and return its value.
We can use this function to easily generate the JSON response for both controllers::

// src/Yoda/EventBundle/Controller/EventController.php
use Symfony\Component\HttpFoundation\Request;
// ...

public function attendAction($id, $format)
Expand Down

0 comments on commit 7b46911

Please sign in to comment.