Module: Hyrax::WithFileSets
- Extended by:
- ActiveSupport::Concern
- Included in:
- WorkBehavior
- Defined in:
- app/models/concerns/hyrax/with_file_sets.rb
Instance Method Summary collapse
-
#copy_visibility_to_files ⇒ Object
deprecated
Deprecated.
Use ‘Hyrax::VisibilityPropagator’ instead.
Instance Method Details
#copy_visibility_to_files ⇒ Object
Deprecated.
Use ‘Hyrax::VisibilityPropagator’ instead.
8 9 10 11 12 13 14 15 |
# File 'app/models/concerns/hyrax/with_file_sets.rb', line 8 def copy_visibility_to_files Deprecation.warn "Use 'Hyrax::VisibilityPropagator' instead." file_sets.each do |fs| fs.visibility = visibility fs.save! end end |