Add "title_title" to slim JSON

This commit is contained in:
Alex Ling 2021-05-15 06:54:12 +00:00
parent cd8944ed2d
commit 23541f457e

View File

@ -53,6 +53,7 @@ class Entry
json.field {{str}}, @{{str.id}} json.field {{str}}, @{{str.id}}
{% end %} {% end %}
json.field "title_id", @book.id json.field "title_id", @book.id
json.field "title_title", @book.title
json.field "pages" { json.number @pages } json.field "pages" { json.number @pages }
end end
end end