By default, ActiveAdmin is running under /admin. Is there any way change that?
Active Admin is a Ruby on Rails plugin for generating administration style interfaces. It abstracts common business application patterns to make it simple for developers to implement beautiful and elegant interfaces with very little effort.
Yes. You need to add the following line to the config/initializers/active_admin.rb
file:
config.default_namespace = :your_desired_namespace
This will create a http://yourdomain.name/your_desired_namespace
Do note, that you will need to update your routes accordingly (i.e admin_user_path
will become your_desired_namespace_user_path
).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With