calraijintaiko/caltaiko

View on GitHub
erb/performance_videos/show.html.erb

Summary

Maintainability
Test Coverage
<%
   title = @performance_video.title + " | Cal Raijin Taiko"
   description = "View the video of " + @performance_video.title
   image = URI.join(root_url, image_path("logo.png"))

   meta title: title,
   description: description,
   og: {
   title: title,
   description: description,
   image: image,
   url: root_url + "videos/" + @performance_video.id.to_s
   }
   %>

<div id="show-vid">
  <%= render 'show' %>
</div>