lib/yogi_berra/rails.rb in yogi_berra-0.0.1 vs lib/yogi_berra/rails.rb in yogi_berra-0.0.2
- old
+ new
@@ -16,11 +16,10 @@
elsif defined?(RAILS_DEFAULT_LOGGER)
RAILS_DEFAULT_LOGGER
end
if defined?(::Rails.configuration) && ::Rails.configuration.respond_to?(:middleware)
- ::Rails.configuration.middleware.insert_after 'ActionController::Failsafe',
- YogiBerra::ExceptionMiddleware
+ ::Rails.configuration.middleware.insert_after('ActionController::Failsafe', YogiBerra::ExceptionMiddleware)
# ::Rails.configuration.middleware.insert_after 'Rack::Lock',
# YogiBerra::UserInformer
end
end
end