浏览代码

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';

正在加载...
取消
保存