diff --git a/app/views/admin/education/programs/static.html.erb b/app/views/admin/education/programs/static.html.erb index 4fc644710346fc00df54796792e5f04b6a5acbba..e9396b25a1eb6e5633cc3cdda0b600827a3bab62 100644 --- a/app/views/admin/education/programs/static.html.erb +++ b/app/views/admin/education/programs/static.html.erb @@ -9,7 +9,7 @@ position: <%= @program.position %> image: "<%= @program.best_featured_image.blob.id %>" image_alt: "<%= @program.featured_image_alt %>" <% end %> -category: "<%= @website.categories.find_by(program_id: @program.id)&.id %>" +category: "<%= @website.categories.find_by(program_id: @program.id)&.path %>" teachers: <% @program.teachers.includes(:person).ordered.each do |teacher| %> - person: "<%= teacher.person.slug %>"