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