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])
|
plugin = Book.where(:is_hidden=>false).find_by(uid: params[:uid])
|
||||||
fields_to_show = [
|
fields_to_show = [
|
||||||
"year",
|
"year",
|
||||||
"author_name",
|
"book_title",
|
||||||
"authors",
|
"authors",
|
||||||
"book_paper_type",
|
"book_paper_type",
|
||||||
"book_title",
|
"book_title",
|
||||||
|
|
|
@ -41,7 +41,7 @@ class Book
|
||||||
|
|
||||||
def create_link
|
def create_link
|
||||||
title = []
|
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.authors if self.authors.present?
|
||||||
title << self.book_title if self.book_title.present?
|
title << self.book_title if self.book_title.present?
|
||||||
title << self.extracted_chapters if self.extracted_chapters.present?
|
title << self.extracted_chapters if self.extracted_chapters.present?
|
||||||
|
|
Loading…
Reference in New Issue