Browse Source

Correctif backoffice

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

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

$user->setMerchant($merchant); $user->setMerchant($merchant);
$em->persist($user); $em->persist($user);
$em->flush(); $em->flush();
$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