Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 187b077

Browse files
author
vashona
authored
Update make-homepage.rst
Updated example for AppBundle\Controller\DefaultController::makeHomepageAction(), annotation "@method" import
1 parent 5b2362e commit 187b077

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tutorial/make-homepage.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ making a given page the homepage. Add the following to the existing
319319
// src/AppBundle/Controller/DefaultController.php
320320

321321
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
322+
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
322323

323324
// ...
324325
class DefaultController extends Controller

0 commit comments

Comments
 (0)