0

I've got standard ActiveAdmin table view for index. The thing is I want to show only View if it comes to action. Like below:

ActiveAdmin.register Conversation do
(...)

  index do
    column 'User email', :sendable
    column :tag
    column 'Category', :topic
    column 'Last update', :updated_at
    actions only: :show
  end
end

actions only: :show is not working. Is there any way to do this without using action_item ?

Eyeslandic
  • 14,553
  • 13
  • 41
  • 54
mr_muscle
  • 2,536
  • 18
  • 61

1 Answers1

2

I think this should work:

actions :all, except: [:edit, :update, :destroy]

Let me know if it doesn't.

Sjors Branderhorst
  • 2,138
  • 17
  • 25