Sha256: 8926aa64751594e57b15ba7897c6521414c5a6ce0b3693a6a304612e159f837b

Contents?: true

Size: 458 Bytes

Versions: 2

Compression:

Stored size: 458 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 :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.1 app/admin/c80_refine_price/rpmessages.rb
c80_refine_price-0.1.0 app/admin/c80_refine_price/rpmessages.rb