Ejemplo n.º 1
0
 /**
  * save changed constants.
  *
  * @param array $data
  * @param array $check
  * @param int   $pid
  *
  * @return void
  */
 public function updateAction(array $data, array $check, $pid)
 {
     /*
      * @todo check wether user has access to page BEFORE SAVE!
      */
     $this->tsParser->applyToPid($pid, $data, $check);
     $this->redirect('index');
     $this->themeRepository->findByUid([])->getAllPreviewImages();
 }