Sha256: 2340610f73757a38f0131c4e9ca6486f8bd72660a330ad3a8014b7717d3eaab2

Contents?: true

Size: 556 Bytes

Versions: 27

Compression:

Stored size: 556 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[:project_token] = User.first.short_token
      #  end
      #end
    end
  end

end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
wovnrb-0.2.24 lib/wovnrb/railtie.rb
wovnrb-0.2.23 lib/wovnrb/railtie.rb
wovnrb-0.2.22 lib/wovnrb/railtie.rb
wovnrb-0.2.21 lib/wovnrb/railtie.rb
wovnrb-0.2.20 lib/wovnrb/railtie.rb
wovnrb-0.2.19 lib/wovnrb/railtie.rb
wovnrb-0.2.18 lib/wovnrb/railtie.rb