diff --git a/app/controllers/personal_books_controller.rb b/app/controllers/personal_books_controller.rb index 657f6d4..97195a3 100644 --- a/app/controllers/personal_books_controller.rb +++ b/app/controllers/personal_books_controller.rb @@ -6,7 +6,7 @@ class PersonalBooksController < ApplicationController "book_title" => book.create_link, "author" => book.authors, "year" => book.year, - "book_paper_type" => book.book_type.title, + "book_paper_type" => (book.book_type.title rescue nil), "link_to_show" => OrbitHelper.url_to_show(book.to_param) } end