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.2.07.1 lib/wovnrb/railtie.rb
wovnrb-0.2.17 lib/wovnrb/railtie.rb
wovnrb-0.2.16 lib/wovnrb/railtie.rb
wovnrb-0.2.15 lib/wovnrb/railtie.rb
wovnrb-0.2.14 lib/wovnrb/railtie.rb
wovnrb-0.2.13 lib/wovnrb/railtie.rb
wovnrb-0.2.12 lib/wovnrb/railtie.rb
wovnrb-0.2.11 lib/wovnrb/railtie.rb
wovnrb-0.2.10 lib/wovnrb/railtie.rb
wovnrb-0.2.09 lib/wovnrb/railtie.rb
wovnrb-0.2.08 lib/wovnrb/railtie.rb
wovnrb-0.2.07 lib/wovnrb/railtie.rb
wovnrb-0.2.06 lib/wovnrb/railtie.rb
wovnrb-0.2.05 lib/wovnrb/railtie.rb
wovnrb-0.2.04 lib/wovnrb/railtie.rb
wovnrb-0.2.03 lib/wovnrb/railtie.rb
wovnrb-0.2.02 lib/wovnrb/railtie.rb
wovnrb-0.2.01 lib/wovnrb/railtie.rb
wovnrb-0.2 lib/wovnrb/railtie.rb
wovnrb-0.1.80 lib/wovnrb/railtie.rb