/**
  * Saves a section and redirects to main page afterward
  *
  * @return     void
  */
 public function savesection()
 {
     if (!$this->course->access('manage', 'offering')) {
         return $this->panel();
     }
     // Incoming posted data
     $fields = Request::getVar('fields', array(), 'post');
     $fields = array_map('trim', $fields);
     // Instantiate a new table row and bind the incoming data
     $model = new \Components\Forum\Tables\Section($this->database);
     if (!$model->bind($fields)) {
         App::redirect(Route::url($this->base . '&unit=manage'));
         return;
     }
     // Check content
     if ($model->check()) {
         // Store new content
         $model->store();
     }
     // Set the redirect
     App::redirect(Route::url($this->base . '&unit=manage'));
 }