groundctrl/shopping_mall

View on GitHub
app/models/spree/preferences/scoped_store_decorator.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Spree
  module Preferences
    ScopedStore.class_eval do
      private

      def rails_cache_id
        "#{ENV['RAILS_CACHE_ID']}#{Apartment::Tenant.current}"
      end
    end
  end
end