diff --git a/src/library/entry.cr b/src/library/entry.cr index 92f4def..f329c7a 100644 --- a/src/library/entry.cr +++ b/src/library/entry.cr @@ -53,6 +53,7 @@ class Entry json.field {{str}}, @{{str.id}} {% end %} json.field "title_id", @book.id + json.field "title_title", @book.title json.field "pages" { json.number @pages } end end