From 7c05f6f741cae3462f6aed4de4fda90ece4fb134 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Mon, 18 Dec 2017 16:21:45 +0800 Subject: [PATCH] reference url now clickable --- app/models/writing_conference.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/writing_conference.rb b/app/models/writing_conference.rb index bf034ff..aeff339 100644 --- a/app/models/writing_conference.rb +++ b/app/models/writing_conference.rb @@ -134,6 +134,8 @@ class WritingConference pd_data << {"data_title" => (p.conference_author_types.collect{|cat| cat.title}.join(", ") rescue "")} when "period" pd_data << {"data_title" => p.duration} + when "url" + pd_data << { "data_title" => "#{p.url}" } else pd_data << { "data_title" => p.send(t) } end