mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-16 20:22:18 +00:00
Fix wrong view being displayed when a webhook fails validation (#25464)
This commit is contained in:
parent
78358b84b9
commit
53acab6d2b
|
@ -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…
Reference in a new issue