Sha256: d2ea210b3d0e880fb42bcc11c3fed20e95d8cba43d9f87744cebfa32414e6288

Contents?: true

Size: 266 Bytes

Versions: 1

Compression:

Stored size: 266 Bytes

Contents

module Raisin
  class Railtie < Rails::Railtie

    initializer 'raisin.middleware' do |app|
      app.middleware.use Raisin::Middleware
    end

    initializer 'raisin.patch_rails' do
      ActionDispatch::Routing::Mapper.include(Raisin::Mapper)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
raisin-0.2.0 lib/raisin/railtie.rb