Method: PostageApp::Mailer#render
- Defined in:
- lib/postageapp/mailer/mailer_2.rb
#render(opts) ⇒ Object
Not insisting rendering a view if it’s not there. PostageApp gem can send blank content provided that the template is defined.
88 89 90 91 92 |
# File 'lib/postageapp/mailer/mailer_2.rb', line 88 def render(opts) super(opts) rescue ActionView::MissingTemplate # do nothing end |