Module: Spotlight::RolesHelper
- Defined in:
- app/helpers/spotlight/roles_helper.rb
Overview
Exhibit roles helpers
Instance Method Summary collapse
-
#roles_for_select ⇒ Object
Format the available roles for a select_tag.
Instance Method Details
#roles_for_select ⇒ Object
Format the available roles for a select_tag
9 10 11 12 13 |
# File 'app/helpers/spotlight/roles_helper.rb', line 9 def roles_for_select Spotlight::Engine.config.exhibit_roles.index_by do |key| t("spotlight.role.#{key}") end end |