public function postAdd($pageId = 0, $groupId = 0)
 {
     $page_version = PageVersion::prepareNew();
     $page_info = Request::input('page_info') ?: [];
     $page_info_lang = Request::input('page_info_lang') ?: [];
     $page_groups = Request::input('page_groups') ?: [];
     $page_info_other = Request::input('page_info_other') ?: [];
     $page = new Page();
     if (!$page->savePostData($page_version, $page_info, $page_info_lang, $page_groups, $page_info_other)) {
         $this->getAdd($pageId);
         return null;
     } else {
         AdminLog::new_log('Added page \'' . $page->pageCurrentLang->name . '\' (Page ID ' . $page->id . ')');
         return \redirect()->route('coaster.admin.pages.edit', ['pageId' => $page->id]);
     }
 }