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.59 lib/wovnrb/railtie.rb
wovnrb-0.1.58 lib/wovnrb/railtie.rb
wovnrb-0.1.57 lib/wovnrb/railtie.rb
wovnrb-0.1.56 lib/wovnrb/railtie.rb
wovnrb-0.1.55 lib/wovnrb/railtie.rb
wovnrb-0.1.54 lib/wovnrb/railtie.rb
wovnrb-0.1.53 lib/wovnrb/railtie.rb
wovnrb-0.1.52 lib/wovnrb/railtie.rb
wovnrb-0.1.51 lib/wovnrb/railtie.rb
wovnrb-0.1.50 lib/wovnrb/railtie.rb
wovnrb-0.1.49 lib/wovnrb/railtie.rb
wovnrb-0.1.48 lib/wovnrb/railtie.rb
wovnrb-0.1.47 lib/wovnrb/railtie.rb
wovnrb-0.1.46 lib/wovnrb/railtie.rb
wovnrb-0.1.45 lib/wovnrb/railtie.rb
wovnrb-0.1.44 lib/wovnrb/railtie.rb
wovnrb-0.1.43 lib/wovnrb/railtie.rb
wovnrb-0.1.42 lib/wovnrb/railtie.rb
wovnrb-0.1.41 lib/wovnrb/railtie.rb
wovnrb-0.1.40 lib/wovnrb/railtie.rb