Module: PagesCore::PageModel::Attachments
- Extended by:
- ActiveSupport::Concern
- Included in:
- Page
- Defined in:
- app/models/concerns/pages_core/page_model/attachments.rb
Instance Method Summary collapse
Instance Method Details
#attachments ⇒ Object
24 25 26 |
# File 'app/models/concerns/pages_core/page_model/attachments.rb', line 24 def super.in_locale(locale) end |
#attachments? ⇒ Boolean
28 29 30 |
# File 'app/models/concerns/pages_core/page_model/attachments.rb', line 28 def .any? end |
#files ⇒ Object
36 37 38 |
# File 'app/models/concerns/pages_core/page_model/attachments.rb', line 36 def files page_files end |
#page_files ⇒ Object
32 33 34 |
# File 'app/models/concerns/pages_core/page_model/attachments.rb', line 32 def page_files super.in_locale(locale) end |