Skip to content

Commit

Permalink
Use #append_view_path instead of appending directly to the view_paths…
Browse files Browse the repository at this point in the history
… array
  • Loading branch information
jcxplorer authored and knzconnor committed Mar 13, 2010
1 parent f8603e7 commit 1033b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/exception_notifier/notifier.rb
Expand Up @@ -4,7 +4,7 @@
class ExceptionNotifier
class Notifier < ActionMailer::Base
self.mailer_name = 'exception_notifier'
self.view_paths << "#{File.dirname(__FILE__)}/views"
self.append_view_path "#{File.dirname(__FILE__)}/views"

class << self
def default_sender_address
Expand Down

0 comments on commit 1033b11

Please sign in to comment.