Module: Component::CollectionTable::ActsAsPublishedConcern

Extended by:
ActiveSupport::Concern
Included in:
Component::CollectionTable
Defined in:
app/concerns/component/collection_table/acts_as_published_concern.rb

Instance Method Summary collapse

Instance Method Details

#acts_as_published_actions(options = {}, &block) ⇒ Object


5
6
7
8
# File 'app/concerns/component/collection_table/acts_as_published_concern.rb', line 5

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