skip authenticity check on hooks controller

This commit is contained in:
Rimian Perkins 2020-01-12 09:33:26 +11:00
parent 431279a4f7
commit 0856381fbe
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@
module DiscourseSubscriptions module DiscourseSubscriptions
class HooksController < ::ApplicationController class HooksController < ::ApplicationController
skip_before_action :verify_authenticity_token, only: [:create]
def create def create
head 200 head 200
end end