@@ -133,7 +133,7 @@ class Product < ActiveRecord::Base
list do
- if current_admin_user.id==1
+ if @current_admin_user.id==1
scopes [:inactive]
end