label('Kembali') ->url(ListNews::getUrl()) ->outlined() ->color('secondary'), ]; } protected function getCreatedNotification(): ?Notification { return CheerfulNotification::create(); } protected function getRedirectUrl(): string { return $this->getResource()::getUrl('index'); } protected function handleRecordCreation(array $data): Model { $data['author_id'] = auth()->id(); return static::getModel()::create($data); } }