Passing spec for user product information
This commit is contained in:
@@ -21,7 +21,7 @@ module Suppliers
|
||||
|
||||
respond_to do |format|
|
||||
format.html # index.html.erb
|
||||
format.json { render json: @lists }
|
||||
format.json { render json: @lists, each_serializer: ListSerializer }
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user