app/views/georgia/revisions/fields/_slides.html.erb in georgia-0.7.5 vs app/views/georgia/revisions/fields/_slides.html.erb in georgia-0.7.6
- old
+ new
@@ -7,11 +7,11 @@
</div>
<div class="fieldset-fields">
<div class="control-group">
<div class="slides js-slides">
<ul class="nav-list js-sortable">
- <% @revision.slides.each do |slide| %>
- <%= slide_portlet_tag(slide) %>
+ <% @slides.each do |slide| %>
+ <%= slide_portlet_tag(slide, content: slide.content(params[:locale])) %>
<% end -%>
</ul>
</div>
</div>
</div>
\ No newline at end of file