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