Use each to iterate over array in mailer and fix comment link
*_url gives complete path with host
This commit is contained in:
parent
11bae37cc4
commit
d9db395ec6
5 changed files with 9 additions and 7 deletions
|
|
@ -4,7 +4,7 @@ User <%= @comment.user.name %> posted a new comment for event <%= @event.title %
|
|||
|
||||
"<%= @comment.body %>"
|
||||
|
||||
To reply to this comment, please go to <%= h( admin_conference_event_url(@conference.short_title, @event)) %>
|
||||
To reply to this comment, please go to <%= h(admin_conference_program_event_url(@conference.short_title, @event, only_path: false)) %>
|
||||
|
||||
Best wishes,
|
||||
<%= @conference.title %> Team
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue