module Admin::ConfigurationsHelper
  ROOT_CHOICES = {
    :listing => "Catalog list (default)",
    :redirect => "Redirect to a catalog",
    :custom => "Custom"
  }.freeze

  def configuration_root_mode_choices(form)
    choices = ROOT_CHOICES.dup
    choices.delete(:redirect) if Catalog.not_deactivated.none?

    form.collection_select(
      :root_mode,
      choices,
      :first,
      :second,
      :hide_label => true
    )
  end

  def configuration_redirect_choices(form)
    form.collection_select(
      :default_catalog_id,
      Catalog.not_deactivated.sorted,
      :id,
      :name,
      :hide_label => true
    )
  end
end

module Admin::ConfigurationsHelper
  ROOT_CHOICES = {
    :listing => "Catalog list (default)",
    :redirect => "Redirect to a catalog",
    :custom => "Custom"
  }.freeze

  def configuration_root_mode_choices(form)
    choices = ROOT_CHOICES.dup
    choices.delete(:redirect) if Catalog.not_deactivated.none?

    form.collection_select(
      :root_mode,
      choices,
      :first,
      :second,
      :hide_label => true
    )
  end

  def configuration_redirect_choices(form)
    form.collection_select(
      :default_catalog_id,
      Catalog.not_deactivated.sorted,
      :id,
      :name,
      {
        :hide_label => true,
        :include_blank => true
      }
    )
  end
end

Add blank select to redirect configuration
Add blank select to redirect configuration
