Module: SpreeBase

Defined in:
lib/spree_multi_domain.rb

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included_with_multi_domain(receiver) ⇒ Object



82
83
84
85
86
87
88
89
90
# File 'lib/spree_multi_domain.rb', line 82

def included_with_multi_domain(receiver)
  included_without_multi_domain(receiver)

  receiver.send :helper, 'products'
  receiver.send :helper, 'taxons'
  receiver.send :before_filter, 'add_current_store_id_to_params'
  receiver.send :helper_method, 'current_store'
  receiver.send :helper_method, 'current_tracker'
end