Skip to content

Commit

Permalink
Update page_creation.rst
Browse files Browse the repository at this point in the history
| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.7
| Fixed tickets |
  • Loading branch information
Jérôme Nadaud authored and wouterj committed Aug 20, 2015
1 parent 6c76b2b commit 1c8cfbe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions book/page_creation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Just add a second method to ``LuckyController``::
// src/AppBundle/Controller/LuckyController.php
// ...

class LuckyController
class LuckyController extends Controller
{
// ...

Expand Down Expand Up @@ -137,7 +137,7 @@ You can even shorten this with the handy :class:`Symfony\\Component\\HttpFoundat
// --> don't forget this new use statement
use Symfony\Component\HttpFoundation\JsonResponse;

class LuckyController
class LuckyController extends Controller
{
// ...

Expand Down Expand Up @@ -170,7 +170,7 @@ at the end:
// src/AppBundle/Controller/LuckyController.php
// ...
class LuckyController
class LuckyController extends Controller
{
/**
* @Route("/lucky/number/{count}")
Expand Down Expand Up @@ -224,7 +224,7 @@ The best part is that you can access this value and use it in your controller::
// src/AppBundle/Controller/LuckyController.php
// ...

class LuckyController
class LuckyController extends Controller
{

/**
Expand Down

0 comments on commit 1c8cfbe

Please sign in to comment.