Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Commit

Permalink
Fix GitHub webhook tests
Browse files Browse the repository at this point in the history
CSRF protection seems to be no longer enabled on
`ActionController::Base`, so there's no callback to skip and Rails thus
raises an error.
  • Loading branch information
rjpaskin committed May 15, 2023
1 parent 0349fdf commit 3d6ae25
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/controllers/webhook/base_controller.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
class Webhook::BaseController < ActionController::Base
skip_forgery_protection
end

0 comments on commit 3d6ae25

Please sign in to comment.