rescue nil for experience_type
This commit is contained in:
parent
df97b18456
commit
698134007a
|
@ -33,7 +33,7 @@ class PersonalExperiencesController < ApplicationController
|
|||
"organizationt_title" => experience.organizationt_title,
|
||||
"department" => experience.department,
|
||||
"job_title" => experience.job_title,
|
||||
"experience_type" => experience.experience_type.title,
|
||||
"experience_type" => (experience.experience_type.title rescue ""),
|
||||
"language" => t(experience.language),
|
||||
"start_date" => experience.start_date,
|
||||
"end_date" => experience.end_date,
|
||||
|
|
Loading…
Reference in New Issue