5 lines
146 B
5 lines
146 B
5 years ago
|
json.hacks_count @hacks_count
|
||
|
json.hacks @hacks do |hack|
|
||
|
json.(hack, :name, :difficult, :updated_at)
|
||
|
json.sets_count hack.hack_sets.count
|
||
|
end
|