app/views/ckeditor/attachment_files/index.html.erb in ckeditor-4.1.6 vs app/views/ckeditor/attachment_files/index.html.erb in ckeditor-4.2.0
- old
+ new
@@ -4,10 +4,10 @@
<%= link_to I18n.t(:upload, :scope => [:ckeditor, :buttons]), 'javascript:void(0)', :class => "add" %>
</div>
</div>
<div class="fileupload-list">
- <%= render :partial => 'ckeditor/shared/asset', :collection => @attachments.scoped %>
+ <%= render :partial => 'ckeditor/shared/asset', :collection => @attachments %>
</div>
<% unless @attachments.last_page? %>
<div class="pagination">
<%= link_to I18n.t("ckeditor.buttons.next"), ckeditor.attachment_files_path(params.merge(:page => @attachments.next_page)), :class => "next", :rel => "next" %>