prowl-exception 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/prowl/exception.rb +1 -1
- data/prowl-exception.gemspec +1 -1
- metadata +1 -1
data/lib/prowl/exception.rb
CHANGED
@@ -3,7 +3,7 @@ require 'prowl/rack'
|
|
3
3
|
module ProwlException
|
4
4
|
class Railtie < ::Rails::Railtie
|
5
5
|
initializer "prowlexception.middleware" do |app|
|
6
|
-
app.middleware.use Rack::ProwlException
|
6
|
+
app.middleware.use Rack::ProwlException if ENV['RAILS_ENV'] == 'production'
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
data/prowl-exception.gemspec
CHANGED