Fix wrong view being displayed when a webhook fails validation (#25464)
This commit is contained in:
parent
c78280a8ce
commit
fd23f50243
2 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ module Admin
|
|||
if @webhook.update(resource_params)
|
||||
redirect_to admin_webhook_path(@webhook)
|
||||
else
|
||||
render :show
|
||||
render :edit
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue