fix tickets bug with no description
This commit is contained in:
parent
8d322f56ef
commit
0e9d6b491b
2 changed files with 6 additions and 1 deletions
|
|
@ -21,4 +21,9 @@ module ConferenceHelper
|
|||
'%20Sponsorship'
|
||||
].join
|
||||
end
|
||||
|
||||
def short_ticket_description(ticket)
|
||||
return unless ticket.description
|
||||
markdown(ticket.description&.split("\n").first&.strip)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue