Skip to content

Commit

Permalink
fix: redirect to list page after create
Browse files Browse the repository at this point in the history
  • Loading branch information
ast21 committed May 22, 2024
1 parent 723aac1 commit e22208f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/UI/Filament/Resources/PollResource/Pages/CreatePoll.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,9 @@ protected function getActions(): array
Actions\LocaleSwitcher::make(),
];
}

protected function getRedirectUrl(): string
{
return PollResource::getUrl();
}
}

0 comments on commit e22208f

Please sign in to comment.