소스 검색

Backend : correctif switch Section

packProduct
Guillaume 3 년 전
부모
커밋
82787477f1
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. +4
    -4
      Controller/Section/SwitchSectionAdminController.php

+ 4
- 4
Controller/Section/SwitchSectionAdminController.php 파일 보기

@@ -3,9 +3,9 @@
namespace Lc\CaracoleBundle\Controller\Section;

use Doctrine\ORM\EntityManagerInterface;
use Lc\CaracoleBundle\Builder\User\UserMerchantBuilder;
use Lc\CaracoleBundle\Container\Section\SectionContainer;
use Lc\CaracoleBundle\Form\Section\SwitchSectionFormType;
use Lc\CaracoleBundle\Repository\Section\SectionRepository;
use Lc\CaracoleBundle\Resolver\MerchantResolver;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
@@ -13,15 +13,15 @@ use Symfony\Component\Routing\Annotation\Route;

class SwitchSectionAdminController extends AbstractController
{

/**
* @Route("/section/switch", name="carac_section_switch")
* @Route("/admin/section/switch", name="carac_section_switch")
*/
public function switchSection(
Request $request,
EntityManagerInterface $entityManager,
MerchantResolver $merchantResolver,
SectionContainer $sectionContainer
SectionContainer $sectionContainer,
UserMerchantBuilder $userMerchantBuilder
) {
$form = $this->createForm(SwitchSectionFormType::class);
$form->handleRequest($request);

Loading…
취소
저장