| @@ -39,7 +39,7 @@ | ||
| 39 | 39 | 'indexes' => [ | 
| 40 | 40 | 'pages' => [ | 
| 41 | 41 | 'types' => [ | 
| 42 | - 'Pages' => [ | |
| 42 | + 'Pages' => [ | |
| 43 | 43 | 'serializer' => [ | 
| 44 | 44 | 'groups' => ['search'], | 
| 45 | 45 | ], | 
| @@ -28,10 +28,10 @@ | ||
| 28 | 28 | public function insert(Widget $widget, View $view, $slotId, $position, $widgetReference) | 
| 29 | 29 |      { | 
| 30 | 30 |          $quantum = $this->em->getRepository('VictoireWidgetMapBundle:WidgetMap')->findOneBy([ | 
| 31 | - 'view' => $view, | |
| 32 | - 'slot' => $slotId, | |
| 33 | - 'position' => $position, | |
| 34 | - 'parent' => $widgetReference, | |
| 31 | + 'view' => $view, | |
| 32 | + 'slot' => $slotId, | |
| 33 | + 'position' => $position, | |
| 34 | + 'parent' => $widgetReference, | |
| 35 | 35 | ]); | 
| 36 | 36 |          if ($quantum) { | 
| 37 | 37 | $widget->setWidgetMap($quantum); |