Class: Pageflow::FilesController Private
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Pageflow::FilesController
- Includes:
- EntryPasswordProtection, PublicHttpsMode
- Defined in:
- app/controllers/pageflow/files_controller.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #show ⇒ Object private
Instance Method Details
#show ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
9 10 11 12 13 14 15 16 17 18 |
# File 'app/controllers/pageflow/files_controller.rb', line 9 def show respond_to do |format| format.html do @entry = PublishedEntry.find(params[:entry_id], entry_request_scope) @file = @entry.find_file(file_type.model, params[:id]) check_entry_password_protection(@entry) end end end |