Use each to iterate over array in mailer and fix comment link

*_url gives complete path with host
This commit is contained in:
Aditya Prakash 2016-03-29 23:22:32 +05:30
parent 11bae37cc4
commit d9db395ec6
5 changed files with 9 additions and 7 deletions

View file

@ -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