Skip to content

Instantly share code, notes, and snippets.

@eliza-abraham
Last active January 4, 2016 21:59
Show Gist options
  • Save eliza-abraham/8684237 to your computer and use it in GitHub Desktop.
Save eliza-abraham/8684237 to your computer and use it in GitHub Desktop.
Overriding Active Admin
# 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