small fix for personal course frontend
This commit is contained in:
parent
34a7be8517
commit
94329abd18
|
@ -5,8 +5,8 @@ class PersonalCoursesController < ApplicationController
|
|||
{
|
||||
"year" => course.year,
|
||||
"title" => course.title,
|
||||
"category" => course.course_category.title,
|
||||
"semester" => course.course_semester.title,
|
||||
"category" => (course.course_category.title rescue ""),
|
||||
"semester" => (course.course_semester.title rescue ""),
|
||||
"authors" => (course.member_profile.name rescue ""),
|
||||
"link_to_show" => OrbitHelper.url_to_show(course.to_param)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue