mirror of
https://github.com/hkalexling/Mango.git
synced 2026-04-03 00:03:14 -04:00
Add "title_title" to slim JSON
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user