forked from saurabh/personal-book
parent
3d6f57086b
commit
823feb3f6b
|
@ -76,7 +76,7 @@ class PersonalBooksController < ApplicationController
|
|||
when "language"
|
||||
t << {"value" => (!book.language.nil? ? t("#{book.language}") : "")}
|
||||
else
|
||||
t << {"value" => book.send(fs)}
|
||||
t << {"value" => (book.send(fs) rescue "")}
|
||||
end
|
||||
end
|
||||
book_list << {"books" => t}
|
||||
|
|
Loading…
Reference in New Issue