Sha256: 28f7f1b6cb828e2360a1d74b87b2cd9b6d2cfdb52e49103be1c968060ef7ec9d

Contents?: true

Size: 553 Bytes

Versions: 73

Compression:

Stored size: 553 Bytes

Contents

module Wovnrb

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

      #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

73 entries across 73 versions & 1 rubygems

Version Path
wovnrb-0.1.39 lib/wovnrb/railtie.rb
wovnrb-0.1.38 lib/wovnrb/railtie.rb
wovnrb-0.1.37 lib/wovnrb/railtie.rb
wovnrb-0.1.36 lib/wovnrb/railtie.rb
wovnrb-0.1.35 lib/wovnrb/railtie.rb
wovnrb-0.1.34 lib/wovnrb/railtie.rb
wovnrb-0.1.33 lib/wovnrb/railtie.rb
wovnrb-0.1.32 lib/wovnrb/railtie.rb
wovnrb-0.1.31 lib/wovnrb/railtie.rb
wovnrb-0.1.30 lib/wovnrb/railtie.rb
wovnrb-0.1.29 lib/wovnrb/railtie.rb
wovnrb-0.1.28 lib/wovnrb/railtie.rb
wovnrb-0.1.27 lib/wovnrb/railtie.rb