Fix wrong view being displayed when a webhook fails validation (#25464)
2 files changed, 2 insertions(+), 2 deletions(-) M app/controllers/admin/webhooks_controller.rb M spec/controllers/admin/webhooks_controller_spec.rb
M app/controllers/admin/webhooks_controller.rb => app/controllers/admin/webhooks_controller.rb +1 -1
@@ 42,7 42,7 @@ module Admin if @webhook.update(resource_params) redirect_to admin_webhook_path(@webhook) else render :show render :edit end end
M spec/controllers/admin/webhooks_controller_spec.rb => spec/controllers/admin/webhooks_controller_spec.rb +1 -1