浏览代码

Correctif backoffice

master
Fab 4 年前
父节点
当前提交
278eade924
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. +2
    -3
      ShopBundle/EventSubscriber/InitializeEventSubscriber.php

+ 2
- 3
ShopBundle/EventSubscriber/InitializeEventSubscriber.php 查看文件

@@ -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');


正在加载...
取消
保存