Skip to content

Commit 712a858

Browse files
committed
Add missing use statement in Building Login Form doc
Also removed use statement for Route as it is only needed when using annotations for routing
1 parent e49a228 commit 712a858

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/security/form_login_setup.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ bundle with an empty ``loginAction``::
8181
// src/AppBundle/Controller/SecurityController.php
8282
namespace AppBundle\Controller;
8383

84-
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
8584
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
85+
use Symfony\Component\HttpFoundation\Request;
8686

8787
class SecurityController extends Controller
8888
{

0 commit comments

Comments
 (0)