1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2026-01-27 18:48:49 +01:00
Files
projekteuler/app/views/problems/index.json.jbuilder
2014-11-30 16:43:09 +01:00

5 lines
134 B
Ruby

json.array!(@problems) do |problem|
json.extract! problem, :id, :title, :content
json.url problem_url(problem, format: :json)
end