summaryrefslogtreecommitdiff
path: root/app/views/api/v1/tutorials/_tutorial.json.jbuilder
blob: dbfe29740a7fa7639aa4930e80baaf843a68a388 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
json.cache! ['v1', tutorial] do
  json.id tutorial.id
  json.heading tutorial.heading
  json.description tutorial.description
  json.url tutorial.url
  json.image_url tutorial.image_url
  json.author tutorial.author
  json.author_url tutorial.author_url
  json.created_at tutorial.created_at
  json.updated_at tutorial.updated_at
  json.tags tutorial.tags do |tag|
    json.name tag.name
  end
end