add name to request

This commit is contained in:
sam
2022-05-25 14:02:29 +04:30
parent 07fcd5fe86
commit c771455197
3 changed files with 10 additions and 3 deletions

View File

@ -1,16 +1,18 @@
ActiveAdmin.register Message do
csv do
column :title
column(:name)
column(:email)
column(:phone)
column(:description)# preserve case
column(:description)
# preserve case
end
# See permitted parameters documentation:
# https://github.com/activeadmin/activeadmin/blob/master/docs/2-resource-customization.md#setting-up-strong-parameters
#
# Uncomment all parameters which should be permitted for assignment
#
permit_params :title, :description, :email, :phone
permit_params :title, :name, :description, :email, :phone
#
# or
#