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

2 lines
72 B
Ruby

json.extract! @template, :id, :title, :author, :created_at, :updated_at