Sha256: 949b2c7cafdae91d4a7936b42e64e27a8b6babf78921746c88eea648fb599964

Contents?: true

Size: 213 Bytes

Versions: 3

Compression:

Stored size: 213 Bytes

Contents

module Rack
  module TrafficSignal
    class Railtie < ::Rails::Railtie
      initializer 'insert_middleware' do |app|
        app.config.middleware.use Rack::TrafficSignal::Middleware
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rack-traffic-signal-0.1.4 lib/rack/traffic_signal/railtie.rb
rack-traffic-signal-0.1.3 lib/rack/traffic_signal/railtie.rb
rack-traffic-signal-0.1.2 lib/rack/traffic_signal/railtie.rb