mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 16:46:42 +01:00
5 lines
154 B
Ruby
5 lines
154 B
Ruby
json.array!(@translations) do |translation|
|
|
json.extract! translation, :id, :title, :content
|
|
json.url translation_url(translation, format: :json)
|
|
end
|