Sha256: 5890c47e82ac20c25c5758a921a49880651d8edf5e2daf6b24d0d78ff5ec4592
Contents?: true
Size: 449 Bytes
Versions: 12
Compression:
Stored size: 449 Bytes
Contents
module Spree module Core module ControllerHelpers module Store extend ActiveSupport::Concern included do helper_method :current_currency helper_method :current_store end def current_currency Spree::Config[:currency] end def current_store @current_store ||= Spree::Store.current(request.env['SERVER_NAME']) end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems