Sha256: 77440cdcc91e20e20704094344f520366aa03edd5ba9957af0dec31f10b546dd
Contents?: true
Size: 371 Bytes
Versions: 1
Compression:
Stored size: 371 Bytes
Contents
module Rao module Component module CollectionTable::ActsAsPublishedConcern extend ActiveSupport::Concern def acts_as_published_actions(options = {}, &block) options.reverse_merge!(render_as: :acts_as_published, title: t('.column_titles.acts_as_published')) column(:acts_as_published_actions, options, &block) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rao-component-0.0.2.pre | app/concerns/rao/component/collection_table/acts_as_published_concern.rb |