Fixes for displaying categories

This commit is contained in:
2013-02-19 19:25:46 +01:00
parent 396a1cb737
commit 73e075fc64
7 changed files with 16 additions and 9 deletions
@@ -4,7 +4,7 @@ module Suppliers
# GET /products
# GET /products.json
def index
@products = ProductDecorator.decorate(current_supplier.products)
@products = ProductDecorator.decorate_collection(current_supplier.products)
respond_to do |format|
format.html # index.html.erb