Last active
January 4, 2016 21:59
-
-
Save eliza-abraham/8684237 to your computer and use it in GitHub Desktop.
Overriding Active Admin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Breadcrumbs | |
## Remove breadcrumbs for all pages of a particular Model | |
config.breadcrumb = Proc.new{ [] } | |
# Filters | |
## Search for multiple columns | |
filter :first_name_or_last_name | |
## Filter options | |
as => :string, | |
## Remove default filters | |
config.filters = false | |
# Menu List | |
## Remove from menu | |
menu false | |
## Menu Options | |
label => To add a different label | |
priority => To set the priority of the label in the menu list (accepts numbers) | |
# Other useful customisations | |
http://viget.com/extend/8-insanely-useful-activeadmin-customizations |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment