Major supplier refactor making the whole system work better

This commit is contained in:
2014-08-07 15:50:06 +02:00
parent e61767fe78
commit b4353113e1
40 changed files with 6614 additions and 4354 deletions
@@ -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