Skip to content

Commit e16d286

Browse files
vimalgorasiyajaviereguiluz
authored andcommitted
Update routing.rst
1 parent ef0934d commit e16d286

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
@@ -176,7 +176,9 @@ Use the ``methods`` option to restrict the verbs each route should respond to:
176176
// src/Controller/BlogApiController.php
177177
namespace App\Controller;
178178
179-
// ...
179+
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
180+
use Symfony\Component\HttpFoundation\Response;
181+
use Symfony\Component\Routing\Annotation\Route;
180182
181183
class BlogApiController extends AbstractController
182184
{

0 commit comments

Comments
 (0)