Fixes for displaying categories
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user