Sha256: ea8f4d2212d9d321ba2de28dedb1b3c1288be25cb22fdd076a6a1c3bc7c42113

Contents?: true

Size: 321 Bytes

Versions: 24

Compression:

Stored size: 321 Bytes

Contents

module ModelsHelper
  extend Deprecation

  def admin_set_full_name(slug)
    Deprecation.warn(self, "admin_set_full_name helper method is deprecated and will be removed in v3." \
                           " Retrieve admin set title from AdminSet ActiveResource instead.")
    I18n.t("ddr.admin_set.#{slug}")
  end

end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
ddr-models-2.6.2 app/helpers/models_helper.rb
ddr-models-2.6.1 app/helpers/models_helper.rb
ddr-models-2.6.0 app/helpers/models_helper.rb
ddr-models-2.6.0.rc4 app/helpers/models_helper.rb
ddr-models-2.6.0.rc3 app/helpers/models_helper.rb
ddr-models-2.6.0.rc2 app/helpers/models_helper.rb
ddr-models-2.6.0.rc1 app/helpers/models_helper.rb
ddr-models-2.5.3 app/helpers/models_helper.rb
ddr-models-2.5.2 app/helpers/models_helper.rb
ddr-models-2.5.1 app/helpers/models_helper.rb
ddr-models-2.5.0 app/helpers/models_helper.rb
ddr-models-2.5.0.rc1 app/helpers/models_helper.rb
ddr-models-2.4.16 app/helpers/models_helper.rb
ddr-models-2.4.15 app/helpers/models_helper.rb
ddr-models-2.4.14 app/helpers/models_helper.rb
ddr-models-2.4.13 app/helpers/models_helper.rb
ddr-models-2.4.12 app/helpers/models_helper.rb
ddr-models-2.4.11 app/helpers/models_helper.rb
ddr-models-2.4.10 app/helpers/models_helper.rb
ddr-models-2.4.9 app/helpers/models_helper.rb