in rails gem active admin I want to remove the delete option form the default_actions while I still need the edit and show action , is there any way to do it ?
You add a call to actions
to every Active Admin resource:
ActiveAdmin.register Foobar do actions :all, :except => [:destroy] end
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With