Module VideosHelper
In: app/helpers/videos_helper.rb

Methods

Public Instance methods

[Source]

   # File app/helpers/videos_helper.rb, line 2
2:   def subtitle_for_podcast(video)
3:     (common = video.tag_list & Department.tag_names).length > 0 ? Department.find_by_tag_name(common.first).name : nil
4:   end

[Source]

   # File app/helpers/videos_helper.rb, line 6
6:   def summary_for_podcast(video)
7:     video.document_id ? short_html_body(Document.find(video.document_id)).strip_html : nil
8:   end

[Validate]