Skip to content

Commit

Permalink
Added routing info to README
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklinnell committed May 1, 2008
1 parent 5844944 commit dacb6eb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Next, you'll need to include the ExceptionLoggable module into ApplicationContro

rescue_action_in_public(exception) - Does not log these exceptions: ActiveRecord::RecordNotFound, ActionController::UnknownController, ActionController::UnknownAction

Now add a new route to your routes.rb:

map.resources :logged_exceptions

After that, visit /logged_exceptions in your application to manage the exceptions.

It's understandable that you may want to require authentication. Add this to your config/environments/production.rb:
Expand Down Expand Up @@ -67,4 +71,4 @@ CREDITS

Jamis Buck - original exception_notification plugin
Rick Olson - model/controller code
Josh Goebel - design
Josh Goebel - design

0 comments on commit dacb6eb

Please sign in to comment.