Browse Source

Correctif backoffice

master
Fab 4 years ago
parent
commit
278eade924
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      ShopBundle/EventSubscriber/InitializeEventSubscriber.php

+ 2
- 3
ShopBundle/EventSubscriber/InitializeEventSubscriber.php View File

public static function getSubscribedEvents() public static function getSubscribedEvents()
{ {
return array( return array(
'easy_admin.post_initialize' => array('initialize'),
'easy_admin.post_update' => array('updateCommonProperty'),
'easy_admin.post_initialize' => array('postInitialize'),
); );
} }




public function initialize(GenericEvent $event)
public function postInitialize(GenericEvent $event)
{ {
$request = $event->getArgument('request'); $request = $event->getArgument('request');



Loading…
Cancel
Save