Sha256: 46bd0e3badb6891d2cc3fbf988ecba21065a512185e7b338aa5f32cf0204241e
Contents?: true
Size: 342 Bytes
Versions: 22
Compression:
Stored size: 342 Bytes
Contents
# frozen_string_literal: true module Spotlight ## # Exhibit roles helpers module RolesHelper ## # Format the available roles for a select_tag def roles_for_select Spotlight::Engine.config.exhibit_roles.each_with_object({}) do |key, object| object[t("spotlight.role.#{key}")] = key end end end end
Version data entries
22 entries across 22 versions & 1 rubygems