File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed
app/views/collection_invitation_mailer Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 11= t(' collections.invitation_mailer.greeting' , user: @recipient .name)
2-
3- = t(' collections.invitation_mailer.invitation_message' , collection: @collection .title)
4-
5- = t(' collections.invitation_mailer.collaboration_details' )
6-
2+ = " \n\n "
3+ = t(' collections.invitation_mailer.invitation_message' , collection: @collection .title).html_safe
4+ = " \n\n "
5+ = t(' collections.invitation_mailer.collaboration_details' ).html_safe
6+ = " \n\n "
77= t(' collections.invitation_mailer.view_collection_instructions' )
8+ = " \n\n "
89= collection_url(@collection )
9-
10+ = " \n\n "
1011= t(' collections.invitation_mailer.contact_info' )
11-
12+ = " \n\n "
1213= t(' collections.invitation_mailer.thank_you' )
14+ = " \n "
1315= t(' collections.invitation_mailer.team_signature' , app_name: t(' application.name' ))
Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ class CollectionInvitationMailerPreview < ActionMailer::Preview
66 def send_invitation
77 collection = FactoryBot . build ( :collection , id : 1 )
88 user = FactoryBot . build ( :user , id : 2 )
9- CollectionInvitationMailer . send_invitation ( collection , user )
9+ CollectionInvitationMailer . with ( collection : , recipient : user ) . send_invitation
1010 end
1111end
You can’t perform that action at this time.
0 commit comments