Merge pull request #3496 from LextrendIT/feature/refactor_embedded_video

Refactor embed video helper to disconnect from @proposal
This commit is contained in:
Javier Martín
2019-09-14 00:02:41 +02:00
committed by GitHub
3 changed files with 5 additions and 5 deletions

View File

@@ -63,7 +63,7 @@
<% if @proposal.video_url.present? %>
<div class="small-12 medium-7 small-centered">
<div class="flex-video">
<div id="js-embedded-video" data-video-code="<%= embedded_video_code %>"></div>
<div id="js-embedded-video" data-video-code="<%= embedded_video_code(@proposal) %>"></div>
</div>
</div>
<% end %>