public function create() { $ta = new TagAlias($this->params()->tag_alias); $ta->is_pending = true; if ($ta->save()) { $this->notice("Tag alias created"); } else { $this->notice("Error: " . $ta->errors()->fullMessages(', ')); } $this->redirectTo("#index"); }