Sha256: 064315ec54e1430803f98b44a50dc7ffa20dc81d3d9ca3488f96aaa858eece36
Contents?: true
Size: 559 Bytes
Versions: 6
Compression:
Stored size: 559 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
6 entries across 6 versions & 1 rubygems