app/views/pictures/_index.html.erb in social_stream-documents-0.1.6 vs app/views/pictures/_index.html.erb in social_stream-documents-0.1.7

- old
+ new

@@ -1,9 +1,9 @@ <div class="attachment_section_header"> <h3><%= t('picture.mine') %></h3> </div> -<% @document_activities.each do |a| %> +<% @activities.each do |a| %> <% document = a.activity_objects.first.document %> <div class="attachment_tile"> <div class="attachment_tile_thumb"> <%= link_to thumb_for(document), {:controller => "documents", :action => "download", :id => document}, @@ -17,6 +17,6 @@ :alt => document.file_file_name, :type => document.type, :path => document_path(document) %> </div> </div> -<% end %> \ No newline at end of file +<% end %>