Add helpscout webhook

This commit is contained in:
Paul Chavard 2018-08-29 20:26:22 +01:00
parent 92f87b1f92
commit 5f12ea43a7
3 changed files with 56 additions and 2 deletions

View file

@ -120,8 +120,11 @@ Rails.application.routes.draw do
get "patron" => "root#patron"
get "contact" => "support#index"
post "contact" => "support#create"
get "contact", to: "support#index"
post "contact", to: "support#create"
post "webhooks/helpscout", to: "webhook#helpscout"
match "webhooks/helpscout", to: lambda { |_| [204, {}, nil] }, via: :head
#
# Deprecated UI