Sha256: 8715fb30f0d1774bbd38148dcb3f0a944ec39263363a537cf5bd2d473572b3a7

Contents?: true

Size: 285 Bytes

Versions: 10

Compression:

Stored size: 285 Bytes

Contents

Rails.application.config.to_prepare do
  Coprl::Presenters::Settings.configure do |config|
    config.presenters.web_client.prepare_context.prepend ->(context, session, _env) {
      context.merge(request: Rack::Request.new(_env),
                    session: session)
    }
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
coprl-3.0.0.beta.12 rails-engine/config/initializers/session.rb
coprl-3.0.0.beta.11 rails-engine/config/initializers/session.rb
coprl-3.0.0.beta.10 rails-engine/config/initializers/session.rb
coprl-3.0.0.beta.9 rails-engine/config/initializers/session.rb
coprl-3.0.0.beta.8 rails-engine/config/initializers/session.rb
coprl-3.0.0.beta.7 rails-engine/config/initializers/session.rb
coprl-3.0.0.beta.6 rails-engine/config/initializers/session.rb
coprl-3.0.0.beta.5 rails-engine/config/initializers/session.rb
coprl-3.0.0.beta.4 rails-engine/config/initializers/session.rb
coprl-3.0.0.beta.3 rails-engine/config/initializers/session.rb