Sha256: 97fb3b2bd6f4f3c9db102ca1a39512666f721df745f9363a271b4a91cd255468

Contents?: true

Size: 447 Bytes

Versions: 1

Compression:

Stored size: 447 Bytes

Contents

ActiveAdmin.register C80OrderForm::MessageOrder, :as => 'MessageOrder' do

  before_filter :skip_sidebar!, :only => :index

  menu :parent => 'Сообщения', :label => C80OrderForm::Settings.first.admin_label_menu

  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

1 entries across 1 versions & 1 rubygems

Version Path
c80_order_form-0.1.0.3 app/admin/c80_order_form/message_orders.rb