Sha256: 660c61b68754ff3b3155b4741449be36897b8394f445179cd626600c4bb33c59
Contents?: true
Size: 631 Bytes
Versions: 11
Compression:
Stored size: 631 Bytes
Contents
require 'rails/railtie' require 'rollbar/plugins/rails/railtie_mixin' module Rollbar class Railtie < ::Rails::Railtie include Rollbar::RailtieMixin initializer 'rollbar.middleware.rails' do |app| require 'rollbar/middleware/rails/rollbar' require 'rollbar/middleware/rails/show_exceptions' app.config.middleware.insert_after ActionDispatch::ShowExceptions, Rollbar::Middleware::Rails::RollbarMiddleware ActionDispatch::ShowExceptions.send(:include, Rollbar::Middleware::Rails::ShowExceptions) end end end
Version data entries
11 entries across 11 versions & 1 rubygems