Sha256: d777b1038239dc796b9b56b6dd0de1f53d21085c47559381077bb30193e796b7

Contents?: true

Size: 479 Bytes

Versions: 2

Compression:

Stored size: 479 Bytes

Contents

ActiveAdmin.register C80RefinePrice::Rpmessage, :as => 'Rpmessage' do

  before_filter :skip_sidebar!, :only => :index

  menu :parent => 'Сообщения',
       :label => 'Уточнить цену',
       :priority => 201

  index do
    selectable_column
    id_column
    column :created_at
    column :name
    column :email_or_phone
    column :item_url
    column :comment do |msg|
      msg.comment.html_safe if msg.comment.present?
    end

    actions
  end


end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
c80_refine_price-0.1.0.3 app/admin/c80_refine_price/rpmessages.rb
c80_refine_price-0.1.0.2 app/admin/c80_refine_price/rpmessages.rb