feat: add actions
This commit is contained in:
parent
fc15f51cd9
commit
73637b52ce
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user