Sha256: 991bc5928034c2b14982419e64e75c46e62394f9c77f9d5ab044bf7fa5791c04
Contents?: true
Size: 545 Bytes
Versions: 19
Compression:
Stored size: 545 Bytes
Contents
# frozen_string_literal: true module Hyrax ## # A custom name for Valkyrie AdministrativeSet objects. Route keys are mapped to `admin_set` # not be the same as the model name. class AdministrativeSetName < Name def initialize(klass, namespace = nil, name = nil) super @human = 'AdminSet' @i18n_key = :admin_set @param_key = 'admin_set' @plural = 'admin_sets' @route_key = 'admin_sets' @singular_route_key = 'admin_set' end end end
Version data entries
19 entries across 19 versions & 1 rubygems