Fix wrong view being displayed when a webhook fails validation (#25464)

This commit is contained in:
Claire 2023-06-20 18:15:35 +02:00
parent 78358b84b9
commit 53acab6d2b
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ module Admin
if @webhook.update(resource_params)
redirect_to admin_webhook_path(@webhook)
else
render :show
render :edit
end
end