File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/Resources/skeleton/controller Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace App\Controller;
4
4
5
- use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
6
- use Symfony\Bundle\FrameworkBundle\Controller\Controller;
5
+ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
7
6
use Symfony\Component\HttpFoundation\Response;
7
+ use Symfony\Component\Routing\Annotation\Route;
8
8
9
- class {{ controller_class_name }} extends Controller
9
+ class {{ controller_class_name }} extends AbstractController
10
10
{
11
11
/**
12
12
* @Route("{{ route_path }}", name="{{ route_name }}")
Original file line number Diff line number Diff line change 2
2
3
3
namespace App\Controller;
4
4
5
- use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
6
- use Symfony\Bundle\FrameworkBundle\Controller\Controller;
5
+ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
7
6
use Symfony\Component\HttpFoundation\Response;
7
+ use Symfony\Component\Routing\Annotation\Route;
8
8
9
- class {{ controller_class_name }} extends Controller
9
+ class {{ controller_class_name }} extends AbstractController
10
10
{
11
11
/**
12
12
* @Route("{{ route_path }}", name="{{ route_name }}")
You can’t perform that action at this time.
0 commit comments