activeadmin


How to remove default links on navigation bar and change their order


As title,
I want to remove the default links assets, comments
and change the remaining links order, how to do it ? thanks
In initializers/active_admin.rb
config.comments_menu = false
That will remove comments from the menu.
If you want to customize the menu further, remove assets, or keep comments and move them to a dropdown you can build a menu. Just omit any label that you'd like hidden from the menu.
config.comments_menu = false
#....
config.namespace :admin do |admin|
admin.build_menu do |menu|
menu.add label: 'Dashboard', priority: 0
menu.add label: 'Revenue', priority: 3
menu.add label: 'Costs', priority: 4
menu.add label: 'Categories', priority: 5
menu.add label: 'Users & Comments', priority: 6
menu.add label: 'Comments', parent: 'Users & Comments', url: "/admin/comments"
end
end

Related Links

How to make a form row's label into a selection input for a different attribute in ActiveAdmin?
How to use Money filter in active admin?
Can a rubocop check be disabled on certain paths only?
Render plain form html from ActiveAdmin instead of full page
Customize ActiveAdmin Page based on Roles
NoMethodError error for search_methods activeadmin
rails concerns - superclass mismatch error with active_admin in gems list
How to filter by “is not” in active admin/ransack
Active Admin image upload with refile
AuthorizationAdapter in ActiveAdmin
ActiveAdmin and Rails Engine. How do you keep the path name the same?
Active admin defining scope for custom page
ActiveAdmin: Can I redirect the user to the index after they create/edit something?
Active admin and Pundit
Sortable for has_many does not sort properly
select2 remove tag_list item

Categories

HOME
powerbi
writefile
gentelella
azure-data-lake
implicit-conversion
telegraf
stack-overflow
hystrix
responsivevoice
smartgwt
squirrel-sql
complexity-theory
supervisord
twisted
google-tasks-api
uima
robolectric
checkout
http-authentication
spam
pfobject
raml
wsf
openbravo
python-imageio
basic-authentication
autodesk-model-derivative
infopath2010
windowsiot
shapeless
android-canvas
macports
ms-dos
elastica
mars-simulator
aurelia-http-client
widestring
resampling
coverage.py
common-table-expression
intellij-lombok-plugin
webalizer
brightscript
nusoap
solr-query-syntax
extjs4.1
scala-collections
.when
emf-compare
ltrace
rustdoc
gawk
ogg
xmlbeans
fuzzer
traversable
strpos
adjacency-list
sharepoint-apps
management-studio-express
juniper-network-connect
mousehover
pythonxy
swagger-maven-plugin
wicked-gem
scala-swing
fiware-bosun
debug-symbols
mod-auth-openidc
dos2unix
iplimage
back
jquery-mobile-flipswitch
category-theory
treeline
accessory
.htpasswd
nosql-aggregation
django-sites
cmath
contextswitchdeadlock
red-system
daap
gitx
clearinterval
hardcode
winsxs
jquery-1.4
digiflow
eaccelerator
urchin
j2mepolish
data-retrieval
accumulator
rendering-engine
bindable-linq
error-detection

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App