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