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



11
12
13
# File 'lib/spree/core/controller_helpers/store.rb', line 11

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