rosa-build/app/views/api/v1/build_lists/index.json.jbuilder

8 lines
232 B
Plaintext
Raw Normal View History

json.build_lists @build_lists do |build_list|
2013-02-19 15:22:38 +00:00
json.(build_list, :id, :status)
2014-01-21 04:51:49 +00:00
json.url api_v1_build_list_path(build_list, format: :json)
end
2014-01-21 04:51:49 +00:00
json.url api_v1_build_lists_path(format: :json, params: {filter: params[:filter] } )