[Git][noosfero/noosfero][stable-1.7] html5-video-plugin: fix encapsulated_instance method reference
Rodrigo Souto
gitlab at mg.gitlab.com
Mon Jan 23 17:36:55 BRST 2017
Rodrigo Souto pushed to branch stable-1.7 at Noosfero / noosfero
Commits:
fa2f9f4e by Rodrigo Souto at 2017-01-23T16:36:46-03:00
html5-video-plugin: fix encapsulated_instance method reference
- - - - -
1 changed file:
- plugins/html5_video/lib/presenters/video.rb
Changes:
=====================================
plugins/html5_video/lib/presenters/video.rb
=====================================
--- a/plugins/html5_video/lib/presenters/video.rb
+++ b/plugins/html5_video/lib/presenters/video.rb
@@ -10,7 +10,7 @@ class FilePresenter::Video < FilePresenter
end
def meta_data #video_info
- Noosfero::Plugin::Settings.new(encapsulated_file, Html5VideoPlugin)
+ Noosfero::Plugin::Settings.new(encapsulated_instance, Html5VideoPlugin)
end
def original_video
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/fa2f9f4e62ae45acc9c9a3bee237a303ea14f6b5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170123/cf4af524/attachment.html>
More information about the Noosfero-dev
mailing list