Sha256: 93d4c5559292fa9a7616ce47021bc61f91f304f57bd75bc0d52dc3b68fe5c36d
Contents?: true
Size: 395 Bytes
Versions: 10
Compression:
Stored size: 395 Bytes
Contents
# frozen_string_literal: true module Neetodeploy class Railtie < Rails::Railtie initializer "neetodeploy.configure_rails_initialization" do insert_middleware end def insert_middleware Rails.application.middleware.use Neetodeploy::Middleware end def use_better_errors? !Rails.env.production? and app.config.consider_all_requests_local end end end
Version data entries
10 entries across 10 versions & 1 rubygems