diff --git a/app/models/education/program.rb b/app/models/education/program.rb index 5842168931d113687345e6ebe05809fc10657aee..1183a431e6876f98ee9615ce8cbab9b1670c60a7 100644 --- a/app/models/education/program.rb +++ b/app/models/education/program.rb @@ -212,7 +212,7 @@ class Education::Program < ApplicationRecord end def published_programs - [self] + Education::Program.where(id: id) end protected