Hi Spree, I'm working with Spree 2.1.1 and I thought this was odd:
2.0.0p247 :001 > s = Spree::BaseController.new
=> #<Spree::BaseController:0x007fea498ecbb0 @_routes=nil,
@_action_has_layout=true, @_headers={"Content-Type"=>"text/html"},
@_status=200, @_request=nil, @_response=nil>
*2.0.0p247 :002 > s.respond_to?(:current_order) #=> false*
*
*
2.0.0p247 :001 > Spree::BaseController.class_eval do
include Spree::Core::ControllerHelpers::Order
end
2.0.0p247 :004 > s = Spree::BaseController.new
=> #<Spree::BaseController:0x007fea4a88eeb0 @_routes=nil,
@_action_has_layout=true, @_headers={"Content-Type"=>"text/html"},
@_status=200, @_request=nil, @_response=nil>
*2.0.0p247 :005 > s.respond_to?(:current_order) #=> true*
Is there a reason why this isn't being included? Am I missing the idea
behind including these helpers which seem to me should be part of the
controller in all occasions?