module-and-template-store/app/views/templates/index.json.jbuilder

5 lines
138 B
Plaintext
Raw Normal View History

2013-12-25 10:39:05 +00:00
json.array!(@templates) do |template|
json.extract! template, :id, :title, :author
json.url template_url(template, format: :json)
end