Sha256: 0b55e3b94a508e4949c741a3369ca0e2a277a50f516b8f10a602e40909c7769d

Contents?: true

Size: 274 Bytes

Versions: 7

Compression:

Stored size: 274 Bytes

Contents

if Rails.configuration.cache_classes
  ShopifyApp::SessionRepository.storage = Shop
else
  reloader = defined?(ActiveSupport::Reloader) ? ActiveSupport::Reloader : ActionDispatch::Reloader

  reloader.to_prepare do
    ShopifyApp::SessionRepository.storage = Shop
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
shopify_app-7.4.0 lib/generators/shopify_app/shop_model/templates/shopify_session_repository.rb
shopify_app-7.3.0 lib/generators/shopify_app/shop_model/templates/shopify_session_repository.rb
shopify_app-7.2.11 lib/generators/shopify_app/shop_model/templates/shopify_session_repository.rb
shopify_app-7.2.10 lib/generators/shopify_app/shop_model/templates/shopify_session_repository.rb
shopify_app-7.2.9 lib/generators/shopify_app/shop_model/templates/shopify_session_repository.rb
shopify_app-7.2.8 lib/generators/shopify_app/shop_model/templates/shopify_session_repository.rb
shopify_app-7.2.7 lib/generators/shopify_app/shop_model/templates/shopify_session_repository.rb