Sha256: 3e43b18c740a6265fefe14332988775795cb7fa0c6c4a744f2ce06cd08b0e818
Contents?: true
Size: 535 Bytes
Versions: 4
Compression:
Stored size: 535 Bytes
Contents
require 'rails' module Rack module DevMark class Railtie < Rails::Railtie config.rack_dev_mark = ActiveSupport::OrderedOptions.new initializer "rack-dev-mark.configure_rails_initialization" do |app| if app.config.rack_dev_mark.enable racks = [ActionDispatch::ShowExceptions, Rack::DevMark::Middleware] racks << app.config.rack_dev_mark.custom_theme if app.config.rack_dev_mark.custom_theme app.config.app_middleware.insert_before *racks end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems