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

Can you use the Form() command in ActiveAdmin in the content of a custom page?
CollectionAction route being skipped, action treated as ID
Possible to “split” an ActiveAdmin resource between multiple menu items?
Rails: activeadmin, undefined method `per' for #<ActiveRecord::Relation:0x4d15ee0>
Active Admin create form in register_page
ActiveAdmin - how to customize edit action?
ActiveAdmin - Filter with default value
Make semantic_errors render the exact error-message
ActiveAdmin - Custom action with reusing the show form
make checkboxes for a has_many :through association using Formtastic
CopyCopter with ActiveAdmin gets loads of Timeout Errors.
Rails ActiveAdmin - after creating a post I wish to render an action
Translation models name in active admin
Active Admin member action
Active Admin config documentation
Rails ActiveAdmin Layout was lost after overriding Controller action

Categories

HOME
spring-data
flask
macos-sierra
svn
tomcat
windows-8.1
schema.org
paypal-ipn
activex
apk
bing-search
tabs
cypher
dependencies
bittorrent
phpmqtt
angular2-template
scheduler
gtk
lda
feature-extraction
sslhandshakeexception
smartgwt
spring-jpa
sql-injection
orange-api
pinterest
varnish-vcl
nose
salt-cloud
pfobject
dashdb
pymongo
websphere-portal
eclipse-emf
jstree
strophe.js
spreadsheetgear
openbravo
acrobat
code-climate
iwebbrowser2
materialize
objectmapper
netbios
lxml
nest
image-optimization
directfb
busboy
right-click
netapp
cloudera-sentry
angular-datatables
1wire
doctrine-extensions
linq-to-excel
liteide
nothing
spring.net
network-protocols
lvalue
zend-server
pyaudio
svnserve
zynq
qtcpsocket
meld
uibinder
adjacency-list
exists
ajax4jsf
apache-commons-digester
asp.net-web-api-helppages
blank-line
360-degrees
sequence-sql
relational-model
explain
erlog
sunos
symja
device-admin
adwords-apiv201402
jquery-mobile-flipswitch
windows-messages
rails-api
pageviews
lync-2010
smips
grails-2.3
disjoint-union
lru
semicolon
itunes-sdk
xmlwriter
idispatch
wiktionary
asio
delphi-prism
radscheduler
winsxs
kernel32
libxslt
git-log
mongrel
multiple-users
fgetc
eventaggregator
jquery-effects

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App