Skip to content

Commit 943b594

Browse files
committed
fix for parent notification changes
1 parent f31a518 commit 943b594

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notifier/parent_request_approved_mail.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<tr>
2-
<td>Hi <%= @notification.invitee_profile.display_name %>,</td>
2+
<td>Hi <%= @notification.profile.display_name %>,</td>
33
</tr>
44
<tr>
5-
<td>Your parent request has been approved by <%= @notification.invitee_profile.parent.display_name %></td>
5+
<td>Your parent request has been approved by <%= @notification.profile.parent.try(:display_name) %></td>
66
</tr>
77
<tr>
88
<td><%= link_to login_url, login_url %></td>

0 commit comments

Comments
 (0)