Sha256: 6958be2da7e3d1727b8328799006e7f6a59d6bff8bb5a36bb4dde4ac68b15193
Contents?: true
Size: 589 Bytes
Versions: 54
Compression:
Stored size: 589 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
54 entries across 54 versions & 1 rubygems