Skip to content
Snippets Groups Projects
Commit 94b895f6 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

path

parent 3eaa937d
No related branches found
No related tags found
No related merge requests found
......@@ -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 %>"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment