Sha256: 36d4b8fa30d7ffd35396a5d482c902e4e3ebbfbdc4a08133e16292d8a402077b

Contents?: true

Size: 259 Bytes

Versions: 62

Compression:

Stored size: 259 Bytes

Contents

module Workarea
  module Admin::InventoryHelper
    def inventory_policies
      @policy_options ||= Workarea.config.inventory_policies.map do |class_name|
        [class_name.demodulize.titleize, class_name.demodulize.underscore]
      end
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.4.13 app/helpers/workarea/admin/inventory_helper.rb
workarea-admin-3.4.12 app/helpers/workarea/admin/inventory_helper.rb