Sha256: c31726ad793dc5f7892786101ed955f02c796812a5b3824e0818a2ce59b85d0f

Contents?: true

Size: 172 Bytes

Versions: 28

Compression:

Stored size: 172 Bytes

Contents

# frozen_string_literal: true

module DiskHelper
  def mark_disabled_bootdisk_type(type)
    return '' if Setting::Bootdisk.allowed_types&.include?(type)
    '*'
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
foreman_bootdisk-19.0.5 app/helpers/disk_helper.rb
foreman_bootdisk-19.0.4 app/helpers/disk_helper.rb
foreman_bootdisk-19.0.3 app/helpers/disk_helper.rb
foreman_bootdisk-19.0.2 app/helpers/disk_helper.rb
foreman_bootdisk-19.0.1 app/helpers/disk_helper.rb
foreman_bootdisk-19.0.0 app/helpers/disk_helper.rb
foreman_bootdisk-18.1.0 app/helpers/disk_helper.rb
foreman_bootdisk-18.0.0 app/helpers/disk_helper.rb