[Bug] Fix conversation assignment mailer url (#374)
* Fix conversation assignment mailer url * Remove mailer scope
This commit is contained in:
parent
9c7d8bb60d
commit
1143893d9c
2 changed files with 5 additions and 5 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue