forked from saurabh/personal-book
removed author from frontend
This commit is contained in:
parent
168e6b14bc
commit
e736a9476d
|
@ -28,7 +28,7 @@ class PersonalBooksController < ApplicationController
|
|||
plugin = Book.where(:is_hidden=>false).find_by(uid: params[:uid])
|
||||
fields_to_show = [
|
||||
"year",
|
||||
"author_name",
|
||||
"book_title",
|
||||
"authors",
|
||||
"book_paper_type",
|
||||
"book_title",
|
||||
|
|
|
@ -41,7 +41,7 @@ class Book
|
|||
|
||||
def create_link
|
||||
title = []
|
||||
title << self.member_profile.name if self.member_profile.present?
|
||||
# title << self.member_profile.name if self.member_profile.present?
|
||||
title << self.authors if self.authors.present?
|
||||
title << self.book_title if self.book_title.present?
|
||||
title << self.extracted_chapters if self.extracted_chapters.present?
|
||||
|
|
Loading…
Reference in New Issue