[Git][noosfero/noosfero][master] 2 commits: fix propagation of function rename list_articles -> list_contents

Rodrigo Souto gitlab at mg.gitlab.com
Tue Jan 24 11:15:07 BRST 2017


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
0cdb404e by Italo Valcy at 2017-01-19T16:26:26-03:00
fix propagation of function rename list_articles -> list_contents

- - - - -
4643f770 by Rodrigo Souto at 2017-01-24T13:15:02+00:00
Merge branch 'list_contents/video_channel' into 'master'

fix propagation of function rename list_articles -> list_contents

See merge request !1093
- - - - -


1 changed file:

- plugins/html5_video/views/content_viewer/video_channel.html.erb


Changes:

=====================================
plugins/html5_video/views/content_viewer/video_channel.html.erb
=====================================
--- a/plugins/html5_video/views/content_viewer/video_channel.html.erb
+++ b/plugins/html5_video/views/content_viewer/video_channel.html.erb
@@ -81,7 +81,7 @@
   <% if @page.children.all.find {|f| f.content_type !~ /^video\//} %>
     <div class="non-video-list">
       <h3><%=_('Non video files')%></h3>
-      <%= list_articles( @page.children.all.select {|f| f.content_type !~ /^video\// } ) %>
+      <%= list_contents contents: @page.children.all.select {|f| f.content_type !~ /^video\// } %>
     </div>
   <% end %>
 



View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/66cda8c4244740434851e5a5898f73536f875a8e...4643f770b35c67f4bb3a8e25d3d216d76e96e25c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170124/634b1c1e/attachment-0001.html>


More information about the Noosfero-dev mailing list