app/concerns/cart_finder.rb in artfully_ose-1.2.0.pre.24 vs app/concerns/cart_finder.rb in artfully_ose-1.2.0.pre.26
- old
+ new
@@ -5,9 +5,14 @@
module CartFinder
extend ActiveSupport::Concern
included do |c|
c.helper_method :current_cart
+ c.helper_method :current_sales_console_cart
+ end
+
+ def current_sales_console_cart
+ current_cart(ConsoleSale::Cart)
end
def current_box_office_cart
current_cart(BoxOffice::Cart)
end
\ No newline at end of file