Method: Spree::Base.display_includes
- Defined in:
- app/models/spree/base.rb
.display_includes ⇒ Object
Provides a scope that should be included any time products are fetched with the intention of displaying to the user.
Allows individual stores to include any active record scopes or joins when products are displayed.
14 15 16 |
# File 'app/models/spree/base.rb', line 14 def self.display_includes where(nil) end |