Merge branch 'master' into 'master'
add link to authors( >= 1 ) for show, before only add link when authors > 1 add link to authors( >= 1 ) for show, before only add link when authors > 1 See merge request !7
This commit is contained in:
commit
c8cbc034dd
|
@ -199,7 +199,7 @@ class WritingConference
|
|||
when "url"
|
||||
value = self.url.to_s.blank? ? "" : "<a href='#{self.url}'>#{self.url}</a>"
|
||||
when "authors"
|
||||
value = get_authors_show(self)
|
||||
value = get_member_show(self) rescue ""
|
||||
else
|
||||
value = self.send(field) rescue ""
|
||||
end
|
||||
|
@ -223,4 +223,4 @@ class WritingConference
|
|||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue