Flow fixes
This commit is contained in:
@@ -19,7 +19,7 @@ module Suppliers
|
||||
|
||||
respond_to do |format|
|
||||
format.html # index.html.erb
|
||||
format.json { render json: @sections }
|
||||
format.json { render json: @sections, each_serializer: SupplierExtendedSectionSerializer }
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user