feat: add actions

This commit is contained in:
bijan 2024-05-12 20:22:05 +03:30
parent fc15f51cd9
commit 73637b52ce

View File

@ -22,5 +22,5 @@ ActiveAdmin.register Message do
# permitted << :other if params[:action] == 'create' && current_user.admin? # permitted << :other if params[:action] == 'create' && current_user.admin?
# permitted # permitted
# end # end
actions :index, :show, :edit, :destroy
end end