Browse Source

Correctif backoffice

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

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

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

$niche = $merchant->getTitle();
$this->utils->addFlash('warning', "Vous êtes maintenant sur le hub de ".$niche);

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

Loading…
Cancel
Save