1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2025-03-31 14:40:11 +02:00

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

This commit is contained in:
Claire 2023-06-20 18:15:35 +02:00
parent 3ef53958b2
commit 8acbfc6ab1

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