app/models/curation.rb
# Aborts if nothing changed. Otherwise, decides what to curate, handles that, and logs the changes:
Aborts if nothing changed. Otherwise, decides what to curate, handles that, and logs the changes.
Aborts if nothing changed . Otherwise decides what to curate handles that and logs the changes .
def curate
    return unless something_needs_curation?
    raise(@errors.to_sentence) unless valid?
    handle_vetting if vetted_changed?
    handle_visibility if visibility_changed?
  end
def curate return unless something_needs_curation? raise ( @errors . to_sentence ) unless valid? handle_vetting if vetted_changed? handle_visibility if visibility_changed? end
Aborts if nothing changed.
Aborts if nothing changed .