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

@@ -99,6 +99,8 @@ class MerchantController extends AdminController
$user->setMerchant($merchant);
$em->persist($user);
$em->flush();
dump($merchant);
die();
$this->utils->addFlash('warning', "Vous êtes maintenant sur le hub de ".$merchant->getTitle());

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

Loading…
Cancel
Save