瀏覽代碼

Admin : correctif changement de merchant

packProduct
Guillaume 3 年之前
父節點
當前提交
e6c521d8c4
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      Controller/Merchant/FavoriteMerchantController.php

+ 2
- 2
Controller/Merchant/FavoriteMerchantController.php 查看文件

@@ -4,9 +4,9 @@ namespace Lc\CaracoleBundle\Controller\Merchant;

use Doctrine\ORM\EntityManagerInterface;
use Lc\CaracoleBundle\Container\Merchant\MerchantContainer;
use Lc\CaracoleBundle\Controller\AbstractController;
use Lc\CaracoleBundle\Definition\MerchantSettingDefinition;
use Lc\CaracoleBundle\Form\Merchant\SwitchMerchantFormType;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Security\Core\Security;
use Symfony\Component\Routing\Annotation\Route;
@@ -34,7 +34,7 @@ class FavoriteMerchantController extends AbstractController
}

// @TODO : à fignoler, hein gamin ?
$url = $this->get(MerchantContainer::class)->getSettingSolver()->getSettingValue(
$url = $this->getSettingSolver()->getSettingValue(
$merchant,
MerchantSettingDefinition::SETTING_URL
) . 'admin';

Loading…
取消
儲存