[Bug] Fix conversation assignment mailer url (#374)

* Fix conversation assignment mailer url

* Remove mailer scope
This commit is contained in:
Pranav Raj S 2019-12-23 12:16:46 +05:30 committed by Sojan Jose
parent 9c7d8bb60d
commit 1143893d9c
2 changed files with 5 additions and 5 deletions

View file

@ -2,4 +2,4 @@
<p>Time to save the world. A new conversation has been assigned to you</p>
<p>Click <%= link_to 'here', conversation_url(id: @conversation.display_id) %> to get cracking. </p>
<p>Click <%= link_to 'here', app_conversation_url(id: @conversation.display_id) %> to get cracking. </p>

View file

@ -13,7 +13,7 @@ Rails.application.routes.draw do
resources :widgets, only: [:index]
namespace :api, :defaults => { :format => 'json' } do
namespace :api, defaults: { format: 'json' } do
namespace :v1 do
resources :callbacks, only: [] do
collection do
@ -76,18 +76,18 @@ Rails.application.routes.draw do
get :summary
end
end
resources :webhooks, only: [] do
collection do
post :chargebee
end
end
end
end
end
scope module: 'mailer' do
# Used in mailer templates
resource :app, only: [:index] do
resources :conversations, only: [:show]
end