diff --git a/app/models/project.rb b/app/models/project.rb index 70717ac..dd4ecb5 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -89,8 +89,9 @@ class Project fields_to_show.collect do |t| if t == "project_title" link = OrbitHelper.url_to_plugin_show(p.to_param,'personal_project') - link = (link == "#" ? p.send(t) : "#{p.send(t)}") - pd_data << { "data_title" => link } + url_to_plugin_show_blank = OrbitHelper.instance_variable_get(:@url_to_plugin_show_blank) + tmp_title = p.project_title + pd_data << { "data_title" => (url_to_plugin_show_blank ? tmp_title : "#{tmp_title}") } elsif t == "period" date = p.duration pd_data << { "data_title" => date }