Skip to content

Commit d68db9d

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: Update routing.rst
2 parents 1401405 + 37b4d00 commit d68db9d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

routing.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,9 @@ Use the ``methods`` option to restrict the verbs each route should respond to:
172172
// src/Controller/BlogApiController.php
173173
namespace App\Controller;
174174
175-
// ...
175+
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
176+
use Symfony\Component\HttpFoundation\Response;
177+
use Symfony\Component\Routing\Annotation\Route;
176178
177179
class BlogApiController extends AbstractController
178180
{

0 commit comments

Comments
 (0)