Skip to content

Commit

Permalink
Adds access to some notifier variables in blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
gucki committed May 16, 2018
1 parent b80ce40 commit 1b652d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/exception_notifier/email_notifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ class EmailNotifier < BaseNotifier
:verbose_subject, :normalize_subject, :include_controller_and_action_names_in_subject,
:delivery_method, :mailer_settings, :email_headers, :mailer_parent, :template_path, :deliver_with)

attr_reader :env, :exception, :request, :data

module Mailer
class MissingController
def method_missing(*args, &block)
Expand Down

0 comments on commit 1b652d7

Please sign in to comment.