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