Skip to content

Commit 1b652d7

Browse files
committed
Adds access to some notifier variables in blocks
1 parent b80ce40 commit 1b652d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/exception_notifier/email_notifier.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ class EmailNotifier < BaseNotifier
1212
:verbose_subject, :normalize_subject, :include_controller_and_action_names_in_subject,
1313
:delivery_method, :mailer_settings, :email_headers, :mailer_parent, :template_path, :deliver_with)
1414

15+
attr_reader :env, :exception, :request, :data
16+
1517
module Mailer
1618
class MissingController
1719
def method_missing(*args, &block)

0 commit comments

Comments
 (0)