add link to authors( >= 1 ) for show, before only add link when authors > 1
This commit is contained in:
parent
50e4a91ae9
commit
02a81045a6
|
@ -199,7 +199,7 @@ class WritingConference
|
||||||
when "url"
|
when "url"
|
||||||
value = self.url.to_s.blank? ? "" : "<a href='#{self.url}'>#{self.url}</a>"
|
value = self.url.to_s.blank? ? "" : "<a href='#{self.url}'>#{self.url}</a>"
|
||||||
when "authors"
|
when "authors"
|
||||||
value = get_authors_show(self)
|
value = get_member_show(self) rescue ""
|
||||||
else
|
else
|
||||||
value = self.send(field) rescue ""
|
value = self.send(field) rescue ""
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue