diff --git a/app/views/api/books/_book.json.jbuilder b/app/views/api/books/_book.json.jbuilder index 08bca7944cf..0c78f713145 100644 --- a/app/views/api/books/_book.json.jbuilder +++ b/app/views/api/books/_book.json.jbuilder @@ -5,6 +5,6 @@ json.description book.description json.pageUrl book.page_url json.coverUrl book.cover_url json.editBookPath edit_book_path(book) -json.mustRead must_read_for_any_practices?(book) +json.mustRead book.must_read_for_any_practices? json.practices book.practices, partial: "api/books/practice", as: :practice