Bläddra i källkod

Admin : correctif changement de merchant

packProduct
Guillaume 3 år sedan
förälder
incheckning
e6c521d8c4
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. +2
    -2
      Controller/Merchant/FavoriteMerchantController.php

+ 2
- 2
Controller/Merchant/FavoriteMerchantController.php Visa fil

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

Laddar…
Avbryt
Spara