Browse Source

Correctif backoffice

master
Fab 4 years ago
parent
commit
2cbb66d93a
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      ShopBundle/Controller/Backend/MerchantController.php

+ 2
- 0
ShopBundle/Controller/Backend/MerchantController.php View File

$user->setMerchant($merchant); $user->setMerchant($merchant);
$em->persist($user); $em->persist($user);
$em->flush(); $em->flush();
dump($merchant);
die();
$this->utils->addFlash('warning', "Vous êtes maintenant sur le hub de ".$merchant->getTitle()); $this->utils->addFlash('warning', "Vous êtes maintenant sur le hub de ".$merchant->getTitle());


return $this->redirect($merchant->getMerchantConfig('url').'admin/dashboard') ; return $this->redirect($merchant->getMerchantConfig('url').'admin/dashboard') ;

Loading…
Cancel
Save