Skip to content

Commit

Permalink
Fix wrong view being displayed when a webhook fails validation (masto…
Browse files Browse the repository at this point in the history
…don#25464)

(cherry picked from commit 8acbfc6)
  • Loading branch information
ClearlyClaire authored and F-Finene committed Jul 6, 2023
1 parent 4065a19 commit a0e8553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/admin/webhooks_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def update
if @webhook.update(resource_params)
redirect_to admin_webhook_path(@webhook)
else
render :show
render :edit
end
end

Expand Down

0 comments on commit a0e8553

Please sign in to comment.