Sha256: 248becf161bfc328e7ac86d926f69b4a28788ed6b4f85c0ee85c4e70b9f09fbc
Contents?: true
Size: 414 Bytes
Versions: 39
Compression:
Stored size: 414 Bytes
Contents
# frozen_string_literal: true module Rails module Command class MiddlewareCommand < Base # :nodoc: desc "middleware", "Print out your Rack middleware stack" def perform boot_application! Rails.configuration.middleware.each do |middleware| say "use #{middleware.inspect}" end say "run #{Rails.application.class.name}.routes" end end end end
Version data entries
39 entries across 39 versions & 5 rubygems