Sha256: e694a5c5db1ff69c9547a2fae6bed3c6b6777e4ca2ef4264dd3c86bf1e6de7c2
Contents?: true
Size: 476 Bytes
Versions: 4
Compression:
Stored size: 476 Bytes
Contents
module Pageflow class VideoFilesController < Pageflow::ApplicationController before_filter :prevent_ssl def show respond_to do |format| format.html do entry = PublishedEntry.find(params[:entry_id], entry_request_scope) @video_file = entry.video_files.find(params[:id]) end end end protected def entry_request_scope Pageflow.config.public_entry_request_scope.call(Entry, request) end end end
Version data entries
4 entries across 4 versions & 1 rubygems