Skip to content

Commit

Permalink
No longer needed, bug smartinez87#10 fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
smartinez87 committed Aug 9, 2011
1 parent 6ac8e8f commit 69f6a9f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ describe application-specific data--just add the section's name to the list
:exception_recipients => %w{[email protected]},
:sections => %w{my_section1 my_section2} + ExceptionNotifier::Notifier.default_sections

When you add a new section or customize a section, you need to inform the gem where the views are.
Create an initializer called config/initializers/exception_notifier.rb with the following code:

ExceptionNotifier::Notifier.prepend_view_path File.join(Rails.root, 'app/views')

If your new section requires information that isn't available by default, make sure
it is made available to the email using the exception_data macro:

Expand Down

0 comments on commit 69f6a9f

Please sign in to comment.