Sha256: 4edeebbd52d8f203b7ce27f22f3c35454562c87289f2330ba1af4ff735201254
Contents?: true
Size: 483 Bytes
Versions: 1
Compression:
Stored size: 483 Bytes
Contents
ActiveAdmin.register C80OrderForm::MessageOrder, :as => 'MessageOrder' do before_filter :skip_sidebar!, :only => :index menu :parent => 'Сообщения', :label => C80OrderForm::Settings.first.admin_label_menu if defined?(C80OrderForm::Settings) 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.4 | app/admin/c80_order_form/message_orders.rb |