Sha256: 4fb6e6165e70c11144b22986b41a7864bc7afc27ef99797195df4b7fc39966c6
Contents?: true
Size: 326 Bytes
Versions: 30
Compression:
Stored size: 326 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::Role::ROLES.each_with_object({}) do |key, object| object[t("spotlight.role.#{key}")] = key end end end end
Version data entries
30 entries across 30 versions & 1 rubygems