getKey()); return $this->response() // ->success('Processed successfully: '.$this->getKey()) ->redirect(admin_route('articles.index', ['category' =>$this->getKey()])); } /** * @return string|array|void */ public function confirm() { // return ['Confirm?', 'contents']; } /** * @param Model|Authenticatable|HasPermissions|null $user * * @return bool */ protected function authorize($user): bool { return true; } /** * @return array */ protected function parameters() { return []; } }