Sha256: 4eda9b401b06bacec74319689593d74d42deb88ef463890d0ee877d1268b9053

Contents?: true

Size: 441 Bytes

Versions: 8

Compression:

Stored size: 441 Bytes

Contents

ActiveAdmin.register C80FeedbackForm::MessageFeedback, :as => 'MessageFeedback' do

  before_filter :skip_sidebar!, :only => :index

  menu :parent => "Сообщения", :label => 'Обратная связь'

  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

8 entries across 8 versions & 1 rubygems

Version Path
c80_feedback_form-0.1.0.8 app/admin/c80_feedback_form/message_feedbacks.rb
c80_feedback_form-0.1.0.6 app/admin/c80_feedback_form/message_feedbacks.rb
c80_feedback_form-0.1.0.5 app/admin/c80_feedback_form/message_feedbacks.rb
c80_feedback_form-0.1.0.4 app/admin/c80_feedback_form/message_feedbacks.rb
c80_feedback_form-0.1.0.3 app/admin/c80_feedback_form/message_feedbacks.rb
c80_feedback_form-0.1.0.2 app/admin/c80_feedback_form/message_feedbacks.rb
c80_feedback_form-0.1.0.1 app/admin/c80_feedback_form/message_feedbacks.rb
c80_feedback_form-0.1.0 app/admin/c80_feedback_form/message_feedbacks.rb