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

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

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

Loading…
Cancel
Save