Class: AttachmentsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- PagesCore::BaseController
- ApplicationController
- AttachmentsController
- Includes:
- PagesCore::RangedResponse
- Defined in:
- app/controllers/attachments_controller.rb
Instance Attribute Summary
Attributes included from PagesCore::Authentication
Instance Method Summary collapse
Methods included from PagesCore::RangedResponse
Methods included from PagesCore::StaticCacheController
#disable_static_cache!, #static_cached?
Methods included from PagesCore::PoliciesHelper
#policy, #verify_policy, #verify_policy_with_proc
Methods included from PagesCore::ProcessTitler
inc_number_of_requests, original_title
Methods included from PagesCore::LocalesHelper
Methods included from PagesCore::ErrorRenderer
Methods included from PagesCore::Authentication
#authenticate!, #deauthenticate!, #logged_in?
Instance Method Details
#download ⇒ Object
15 16 17 |
# File 'app/controllers/attachments_controller.rb', line 15 def download disposition: "attachment" end |
#show ⇒ Object
11 12 13 |
# File 'app/controllers/attachments_controller.rb', line 11 def show end |