Sha256: 1fdccaa4a3ce29bda055e1bdfd5be3b77e3f76c4b6510c0b76a7901b1886e90d
Contents?: true
Size: 399 Bytes
Versions: 5
Compression:
Stored size: 399 Bytes
Contents
module Pageflow module Admin module EntriesHelper def collection_for_entry_publication_states [ 'published_without_password_protection', 'published_with_password_protection', 'not_published' ].index_by do |state| I18n.t(state, scope: 'activerecord.values.pageflow/entry.publication_states') end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems