Module: Spree::Core::ControllerHelpers::Store

Extended by:
ActiveSupport::Concern
Included in:
BaseController
Defined in:
lib/spree/core/controller_helpers/store.rb

Instance Method Summary collapse

Instance Method Details

#current_storeObject



13
14
15
# File 'lib/spree/core/controller_helpers/store.rb', line 13

def current_store
  @current_store ||= Spree::Config.current_store_selector_class.new(request).store
end