mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 08:46:41 +01: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
|