diff --git a/app/models/course.rb b/app/models/course.rb index 9807086..8a26299 100644 --- a/app/models/course.rb +++ b/app/models/course.rb @@ -99,7 +99,7 @@ class Course link = OrbitHelper.url_to_plugin_show(p.to_param,'personal_course') url_to_plugin_show_blank = OrbitHelper.instance_variable_get(:@url_to_plugin_show_blank) tmp_title = p.title - pd_data << { "data_title" => (url_to_plugin_show_blank ? tmp_title : "#{tmp_title}") } + pd_data << { "data_title" => (url_to_plugin_show_blank ? tmp_title : "#{tmp_title}") } elsif t == "course_category" pd_data << {"data_title" => (p.course_category.title rescue "")} else