Major supplier refactor making the whole system work better
This commit is contained in:
@@ -21,10 +21,7 @@ module Suppliers
|
||||
end
|
||||
@lists.include_relation(:table)
|
||||
|
||||
respond_to do |format|
|
||||
format.html # index.html.erb
|
||||
format.json { render json: @lists, each_serializer: SupplierListSerializer }
|
||||
end
|
||||
render json: @lists, each_serializer: SupplierListSerializer
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user