Module: PagesCore::AttachmentsHelper
- Defined in:
- app/helpers/pages_core/attachments_helper.rb
Instance Method Summary collapse
- #attachment_path(*args) ⇒ Object
- #download_attachment_path(*args) ⇒ Object
- #page_file_path(*args) ⇒ Object
Instance Method Details
#attachment_path(*args) ⇒ Object
| 5 6 7 | # File 'app/helpers/pages_core/attachments_helper.rb', line 5 def (*args) super(*(args)) end | 
#download_attachment_path(*args) ⇒ Object
| 9 10 11 | # File 'app/helpers/pages_core/attachments_helper.rb', line 9 def (*args) super(*(args)) end | 
#page_file_path(*args) ⇒ Object
| 13 14 15 16 17 18 19 20 21 | # File 'app/helpers/pages_core/attachments_helper.rb', line 13 def page_file_path(*args) ActiveSupport::Deprecation.warn( "#page_file_path is deprecated, use #attachment_path" ) page_file = args.detect { |a| a.is_a?(PageFile) } return (page_file.) if page_file super end |