Search code examples
ruby-on-rails-3activeadmin

Active Admin Rename the resource in different places


The documentation allows you to rename a page pretty easily, but not exactly in the way I'd like.

Given this code: ActiveAdmin.register User, :as => "Static" gives a menu name of statics

I was wondering if there was a way to customize it so the name in the menu is not pluralized => static


Solution

  • Rename the menu item(source):

    menu label: 'Static'
    

    Rename title in the top left corner(source):

    index title: 'Static'