Skip to content

Commit a481d54

Browse files
committed
minor #112 Use the core Route annotation in controllers (javiereguiluz)
This PR was squashed before being merged into the 1.0-dev branch (closes #112). Discussion ---------- Use the core Route annotation in controllers Commits ------- d3c03b5 Use the core Route annotation in controllers
2 parents bee00a6 + d3c03b5 commit a481d54

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Maker/MakeController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace Symfony\Bundle\MakerBundle\Maker;
1313

14-
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
14+
use Symfony\Component\Routing\Annotation\Route;
1515
use Symfony\Bundle\MakerBundle\ConsoleStyle;
1616
use Symfony\Bundle\MakerBundle\DependencyBuilder;
1717
use Symfony\Bundle\MakerBundle\InputConfiguration;

src/Resources/skeleton/controller/Controller.tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace App\Controller;
44

5-
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
5+
use Symfony\Component\Routing\Annotation\Route;
66
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
77
use Symfony\Component\HttpFoundation\Response;
88

src/Resources/skeleton/controller/ControllerWithTwig.tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace App\Controller;
44

5-
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
5+
use Symfony\Component\Routing\Annotation\Route;
66
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
77
use Symfony\Component\HttpFoundation\Response;
88

0 commit comments

Comments
 (0)