lib/tb_commerce/engine.rb in tb_commerce-0.0.3 vs lib/tb_commerce/engine.rb in tb_commerce-0.0.4
- old
+ new
@@ -19,10 +19,10 @@
end
end
initializer 'tb_commerce.admin', :before => 'tb_core.admin' do |config|
Spud::Core.admin_applications += [
- {:name => 'Products', :url => '/admin/products' },
+ #{:name => 'Products', :url => '/admin/products' },
{:name => 'Orders', :thumbnail => "tb_commerce/orders.png", :url => '/admin/orders', :badge => ->(user){
TbCommerce::Order.where(:status => 'placed').count
}},
{:name => 'Transactions', :thumbnail => "tb_commerce/transactions.png", :url => '/admin/transactions'}
]