@@ -2,7 +2,6 @@
class Product < ActiveRecord::Base
has_paper_trail
self.table_name = 'products'
- before_filter :authenticate_admin_user!
scope :active, -> { where(ptype: "cent_sale") }
scope :inactive, -> { where(ptype: "direct_sale") }