Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add explicit inclusion for Spree::Core::ControllerHelpers::Order so t…

…hat autoloading doesn't bite us in the ass

Fixes #28
  • Loading branch information...
commit a63edf4f8f21363909f803f6d0357c622858e409 1 parent 551d775
@radar radar authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/spree_multi_domain/engine.rb
View
1  lib/spree_multi_domain/engine.rb
@@ -36,6 +36,7 @@ def find_layout_with_multi_store(layout, locals)
end
initializer "current order decoration" do |app|
+ require 'spree/core/controller_helpers/order'
::Spree::Core::ControllerHelpers::Order.module_eval do
def current_order_with_multi_domain(create_order_if_necessary = false)
current_order_without_multi_domain(create_order_if_necessary)
Please sign in to comment.
Something went wrong with that request. Please try again.