rails_exception_handler_admin
=============================

#### An administrator interface for the rails_exception_handler gem.

## Installation

Set up and install [rails_exception_handler](https://github.com/Sharagoz/rails_exception_handler) in this or another application.
Add the line below to your gemfile and run bundler
```
gem 'rails_exception_handler_admin'
```
Mount the rails engine in your application:
```
mount RailsExceptionHandlerAdmin::Engine, :at => '/errors'
```
To add authentication to this end point:
```
# Be sure to customize the lambda to your needs
scope constraints: lambda{|req| User.find(session[:current_user_id]).admin? rescue false }
  mount RailsExceptionHandlerAdmin::Engine, :at => '/errors'
end
```


rails_exception_handler_admin
=============================

#### An administrator interface for the rails_exception_handler gem.

## Installation

Set up and install [rails_exception_handler](https://github.com/Sharagoz/rails_exception_handler) in this or another application.
Add the line below to your gemfile and run bundler
```
gem 'rails_exception_handler_admin'
```
Mount the rails engine in your application:
```
mount RailsExceptionHandlerAdmin::Engine, :at => '/errors'
```
To add authentication to this route:
```
# Be sure to customize the lambda to your needs
scope constraints: lambda{|req| User.find(session[:current_user_id]).admin? rescue false }
  mount RailsExceptionHandlerAdmin::Engine, :at => '/errors'
end
```


Change terminology to be more Rails like...
Change terminology to be more Rails like...
