app/models/in_progress_etd.rb
# Information about the file that the JavaScript needs for display and to render the 'Remove' button.
Information about the file that the JavaScript needs for display and to render the 'Remove' button.
Information about the file that the JavaScript needs for display and to render the ' Remove ' button .
def file_for_refresh(file_set)
    return if file_set.blank?
    {
      'id' => file_set.id,
      'name' => file_set.label,
      'size' => file_set.file_size.first,
      'deleteUrl' => Rails.application.class.routes.url_helpers.hyrax_file_set_path(file_set),
      'deleteType' => 'DELETE'
    }
  end
def file_for_refresh ( file_set ) return if file_set . blank? { 'id' => file_set . id , 'name' => file_set . label , 'size' => file_set . file_size . first , 'deleteUrl' => Rails . application . class . routes . url_helpers . hyrax_file_set_path ( file_set ) , 'deleteType' => 'DELETE' } end
Information about the file that the JavaScript needs for display and to render the 'Remove' button.
Information about the file that the JavaScript needs for display and to render the ' Remove ' button .
file_set
<not_specific>