From 73637b52ce9c2b6e0a8092fe847470458bcfbb37 Mon Sep 17 00:00:00 2001 From: bijan Date: Sun, 12 May 2024 20:22:05 +0330 Subject: [PATCH] feat: add actions --- app/admin/messages.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin/messages.rb b/app/admin/messages.rb index 4eb0661..8f40ad3 100644 --- a/app/admin/messages.rb +++ b/app/admin/messages.rb @@ -22,5 +22,5 @@ ActiveAdmin.register Message do # permitted << :other if params[:action] == 'create' && current_user.admin? # permitted # end - + actions :index, :show, :edit, :destroy end