Commit c6772db6 authored by Michael Rose's avatar Michael Rose

story: api: return summary

parent 35bc9c11
......@@ -7,7 +7,7 @@ end
json.deleted story.deleted?
json.tags story.tags, :name, :system
json.(story, :published, :updated, :last_seen, :deleted_at)
json.(story, :status, :language, :rated, :chapters, :favs, :follows, :reviews, :words)
json.(story, :status, :summary, :language, :rated, :chapters, :favs, :follows, :reviews, :words)
json.characters story.characters, :id, :name, :gender
json.categories story.categories, :name
json.fandoms story.fandoms, :name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment