[Feature] Email collect message hooks (#331)
- Add email collect hook on creating conversation - Merge contact if it already exist
This commit is contained in:
@@ -29,7 +29,7 @@ Rails.application.configure do
|
||||
config.cache_store = :null_store
|
||||
|
||||
# Raise exceptions instead of rendering exception templates.
|
||||
config.action_dispatch.show_exceptions = false
|
||||
config.action_dispatch.show_exceptions = true
|
||||
|
||||
# Disable request forgery protection in test environment.
|
||||
config.action_controller.allow_forgery_protection = false
|
||||
|
||||
@@ -50,3 +50,7 @@ en:
|
||||
assignee:
|
||||
assigned: "Assigned to %{assignee_name} by %{user_name}"
|
||||
removed: "Conversation unassigned by %{user_name}"
|
||||
templates:
|
||||
typical_reply_message_body: "%{account_name} typically replies in a few hours."
|
||||
ways_to_reach_you_message_body: "Give the team a way to reach you."
|
||||
email_input_box_message_body: "Get notified by email"
|
||||
|
||||
@@ -11,7 +11,7 @@ Rails.application.routes.draw do
|
||||
|
||||
match '/status', to: 'home#status', via: [:get]
|
||||
|
||||
resources :widgets, only: [:index]
|
||||
resource :widget, only: [:show]
|
||||
|
||||
namespace :api, defaults: { format: 'json' } do
|
||||
namespace :v1 do
|
||||
@@ -25,7 +25,7 @@ Rails.application.routes.draw do
|
||||
end
|
||||
|
||||
namespace :widget do
|
||||
resources :messages, only: [:index, :create]
|
||||
resources :messages, only: [:index, :create, :update]
|
||||
resources :inboxes, only: [:create, :update]
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user