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/trustie_hacks/index.json.jbuilder

11 lines
293 B

5 years ago
json.hackathon do
json.(@hackathon, :id, :name, :description)
json.hackathon_users_count @hackathon_users_count
end
5 years ago
json.hacks_count @hacks_count
5 years ago
json.hacks @hacks do |hack|
json.(hack, :id, :name, :description, :hack_users_count)
5 years ago
json.entry_info hack.entry_info(current_user.id)
5 years ago
end