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