Class: Pageflow::VideoFilesController

Inherits:
ApplicationController show all
Defined in:
app/controllers/pageflow/video_files_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



5
6
7
8
9
10
11
12
# File 'app/controllers/pageflow/video_files_controller.rb', line 5

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