mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-07-25 23:45:05 +02:00
5 lines
134 B
Ruby
5 lines
134 B
Ruby
json.array!(@problems) do |problem|
|
|
json.extract! problem, :id, :title, :content
|
|
json.url problem_url(problem, format: :json)
|
|
end
|