add roles to admin panel

This commit is contained in:
João Geonizeli
2022-07-21 10:45:48 -03:00
parent 734b6e911a
commit 705a465292
10 changed files with 209 additions and 100 deletions

3
app/admin/roles.rb Normal file
View File

@@ -0,0 +1,3 @@
ActiveAdmin.register Role do
permit_params :name
end