diff --git a/app/models/education/program/with_diploma.rb b/app/models/education/program/with_diploma.rb index 46e126d4ad9ead2a26be4dc4059669c8bdf5c945..b09339c50ae9c6fe7586a36ad025ff1477125c89 100644 --- a/app/models/education/program/with_diploma.rb +++ b/app/models/education/program/with_diploma.rb @@ -7,9 +7,9 @@ module Education::Program::WithDiploma optional: true end - # Used by website + # Used by website # https://github.com/noesya/osuny/issues/1529 def diplomas - [diploma] + Education::Diploma.where(id: diploma_id) end end