[Git][noosfero/noosfero][stable-1.7] fix propagation of function rename list_articles -> list_contents
Rodrigo Souto
gitlab at mg.gitlab.com
Mon Jan 23 17:46:18 BRST 2017
Rodrigo Souto pushed to branch stable-1.7 at Noosfero / noosfero
Commits:
b51edcf3 by Italo Valcy at 2017-01-23T16:46:09-03:00
fix propagation of function rename list_articles -> list_contents
- - - - -
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/commit/b51edcf3339d71e84897b41faccbcd07c66c7d11
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170123/f49b1681/attachment.html>
More information about the Noosfero-dev
mailing list