Pārlūkot izejas kodu

Correctif backoffice

master
Fab pirms 4 gadiem
vecāks
revīzija
278eade924
1 mainītis faili ar 2 papildinājumiem un 3 dzēšanām
  1. +2
    -3
      ShopBundle/EventSubscriber/InitializeEventSubscriber.php

+ 2
- 3
ShopBundle/EventSubscriber/InitializeEventSubscriber.php Parādīt failu

@@ -27,13 +27,12 @@ class InitializeEventSubscriber implements EventSubscriberInterface
public static function getSubscribedEvents()
{
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');


Notiek ielāde…
Atcelt
Saglabāt