Bug: Update conversation urls in email (#649)
Update the conversation URLs in email templates.
This commit is contained in:
parent
50ebbc13b6
commit
6c48f2e789
3 changed files with 15 additions and 3 deletions
|
@ -2,4 +2,9 @@
|
||||||
|
|
||||||
<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', app_conversation_url(id: @conversation.display_id) %> to get cracking. </p>
|
<p>
|
||||||
|
Click <%=
|
||||||
|
link_to 'here',
|
||||||
|
app_account_conversation_url(account_id: @conversation.account_id, id: @conversation.display_id)
|
||||||
|
%> to get cracking.
|
||||||
|
</p>
|
||||||
|
|
|
@ -2,4 +2,9 @@
|
||||||
|
|
||||||
<p>Time to save the world. A new conversation has been created in <%= @conversation.inbox.name %></p>
|
<p>Time to save the world. A new conversation has been created in <%= @conversation.inbox.name %></p>
|
||||||
|
|
||||||
<p>Click <%= link_to 'here', app_conversation_url(id: @conversation.display_id) %> to get cracking. </p>
|
<p>
|
||||||
|
Click <%=
|
||||||
|
link_to 'here',
|
||||||
|
app_account_conversation_url(account_id: @conversation.account_id, id: @conversation.display_id)
|
||||||
|
%> to get cracking.
|
||||||
|
</p>
|
||||||
|
|
|
@ -136,7 +136,9 @@ Rails.application.routes.draw do
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
# Used in mailer templates
|
# Used in mailer templates
|
||||||
resource :app, only: [:index] do
|
resource :app, only: [:index] do
|
||||||
resources :conversations, only: [:show]
|
resources :accounts do
|
||||||
|
resources :conversations, only: [:show]
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue