We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f2abda commit bd924abCopy full SHA for bd924ab
lib/exception_notifier/notifier.rb
@@ -4,6 +4,8 @@
4
class ExceptionNotifier
5
class Notifier < ActionMailer::Base
6
self.mailer_name = 'exception_notifier'
7
+ #Append application view path to the ExceptionNotifier lookup context.
8
+ self.append_view_path Rails.root.nil? ? "app/views" : "#{Rails.root}/app/views" if defined?(Rails)
9
self.append_view_path "#{File.dirname(__FILE__)}/views"
10
11
class << self
0 commit comments