I am customizing Rails Admin : https://github.com/sferik/rails_admin , i need to disable/hide \"Add new\" option for some model.
To have multiple models, you must put each model in single quotes. For example, consider the following configuration:
config.actions do
dashboard
index do
except ['Address']
end
new do
except ['Address', 'Employee', 'Setting']
end
export
show
edit do
except ['Employee']
end
end
This means that:
User
model you could see it in the navbar, edit it, and add a new one on the index page.