Sha256: 99d73065f08a583fbcf0fabb386d9aa727346a1d58296ce470f7b15352f24c6e

Contents?: true

Size: 448 Bytes

Versions: 1

Compression:

Stored size: 448 Bytes

Contents

module Wovnrb

  class Railtie < Rails::Railtie
    initializer 'wovnrb.configure_rails_initialization' do |app|
      #app.middleware.insert_before(0, Wovnrb::Interceptor)
      app.middleware.insert_before(Rack::Lock, Wovnrb::Interceptor)

      #if Rails.env.development? && config.respond_to?(:wovnrb)
      #  config.after_initialize do
      #    config.wovnrb[:user_token] = User.first.short_token
      #  end
      #end
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wovnrb-0.1.21 lib/wovnrb/railtie.rb