Browse Source

Admin : correctif changement de merchant

packProduct
Guillaume 3 years ago
parent
commit
e6c521d8c4
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Controller/Merchant/FavoriteMerchantController.php

+ 2
- 2
Controller/Merchant/FavoriteMerchantController.php View File

@@ -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…
Cancel
Save