/**
  * 確認
  * @param null $one
  * @return \Illuminate\Http\RedirectResponse|\Illuminate\View\View
  */
 public function postConfirm($one = null)
 {
     $request = \Input::only(['section_id', 'name', 'description']);
     // validator
     if ($one) {
         $this->category->rule['webmaster.category']['name'] = "required|regex:/^[a-zA-Z]+\$/|unique:categories,name,{$one},category_id";
     }
     $validate = $this->category->validate($request, 'webmaster.category');
     if (!$validate) {
         return \Redirect::route('webmaster.category.form', ['one' => $one])->withErrors($this->category->getErrors())->withInput();
     }
     $data = ['id' => $one, 'hidden' => $this->setHiddenVars($request), 'sections' => $this->section->getSectionList('name', 'section_id')];
     $this->view('webmaster.category.confirm', $data);
 }
 /**
  * @param $one
  */
 public function getSection($one)
 {
     $section = $this->section->getSection($one);
     $data = ['section' => $section, 'list' => $this->category->getCategoryFromSection($one)];
     // title設定
     $this->title($section->name);
     $this->view('home.section.index', $data);
 }