Sha256: 092374c8fcad8e778007e486b6e5a7a95f41d46374416b8f9a29abdfa51177c5

Contents?: true

Size: 240 Bytes

Versions: 4

Compression:

Stored size: 240 Bytes

Contents

# frozen_string_literal: true

require "rails"

require_relative "middleware"

module Dial
  class Railtie < ::Rails::Railtie
    initializer "dial.use_middleware" do |app|
      app.middleware.insert_before 0, Middleware
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dial-0.1.3 lib/dial/railtie.rb
dial-0.1.2 lib/dial/railtie.rb
dial-0.1.1 lib/dial/railtie.rb
dial-0.1.0 lib/dial/railtie.rb