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
class HooksController < ::ApplicationController
skip_before_action :verify_authenticity_token, only: [:create]
def create
head 200
end