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
  • Loading branch information
ClearlyClaire authored and IsabelaY committed Jul 6, 2023
1 parent 681af83 commit c832d7a
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 c832d7a

Please sign in to comment.