aboutsummaryrefslogblamecommitdiffstats
path: root/actionmailer/test/fixtures/base_test/late_inline_attachment_mailer/on_render.erb
blob: 6decd3bb311cdfba94014f86caae0d3561ac57b7 (plain) (tree)
1
2
3
4
5
6
7






                                                                                                       
<h1>Adding an inline image while rendering</h1>

<% controller.attachments.inline["controller_attachments.jpg"] = 'via controller.attachments.inline' %>
<%= image_tag attachments['controller_attachments.jpg'].url %>

<% attachments.inline["attachments.jpg"] = 'via attachments.inline' %>
<%= image_tag attachments['attachments.jpg'].url %>