You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/app/views/shixuns/get_data_sets.json.jbuilder

11 lines
334 B

5 years ago
json.data_sets do
json.array! @data_sets do |set|
json.id set.id
json.title set.title
json.author set.author.real_name
json.created_on set.created_on
json.filesize number_to_human_size(set.filesize)
5 years ago
json.file_path "#{@absolute_folder}/#{set.relative_path_filename}"
5 years ago
end
end
json.data_sets_count @data_count