lib/carter/controller_additions.rb in carter-0.6.3 vs lib/carter/controller_additions.rb in carter-0.6.4
- old
+ new
@@ -17,11 +17,11 @@
end
def self.included(base)
base.extend ClassMethods
- base.class_inheritable_accessor :checking_out
- base.class_inheritable_accessor :shopping
+ base.class_attribute :checking_out
+ base.class_attribute :shopping
base.helper_method :cart, :has_cart?, :shopper
end
module InstanceMethods
def cart