Skip to content

Commit

Permalink
fixed #57 api.update: Schreibfehler beim Event-Aufruf "pim.entity.bef…
Browse files Browse the repository at this point in the history
…ore.udpdate" api backend bug
  • Loading branch information
areanet committed Feb 1, 2018
1 parent 012eff2 commit 8480e01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions appcms/areanet/PIM/Controller/ApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ public function updateAction(Request $request, Application $app)
$event->setParam('data', $data);
$event->setParam('app', $app);
$this->app['dispatcher']->dispatch('pim.entity.before.udpdate', $event);
$this->app['dispatcher']->dispatch('pim.entity.before.update', $event);

$data = $event->getParam('data');

Expand All @@ -451,6 +452,7 @@ public function updateAction(Request $request, Application $app)
$event->setParam('data', $data);
$event->setParam('app', $app);
$this->app['dispatcher']->dispatch('pim.entity.after.udpdate', $event);
$this->app['dispatcher']->dispatch('pim.entity.after.update', $event);

return $this->renderResponse(array('id' => $id));

Expand Down

0 comments on commit 8480e01

Please sign in to comment.